CUser::SetParam( string param_name, mixed param_value )
The method SetParam sets the value of the user-defined parameter param_name to be stored in the authorization session (usually called on the $USER object). You can get the parameter value later by calling CUser::GetParam.
Parameter | Description |
---|---|
param_name | Parameter name. |
param_value | Parameter value. |
<? global $USER; $USER->SetParam("IP_LOGIN", $_SERVER['REMOTE_ADDR']); ?>
© 2001-2005 Bitrix | Bitrix Site Manager - Content Management & Portal Solutions |