sessions variable

14 years 8 months ago #13446 by selts
sessions variable was created by selts
hi,
upon logging in, in comprofiler.php, i need to use seesion to register a variable so that I can access it in other pages.
Tried this but doesn't seem to work.

[code:1]session_name( md5( $mosConfig_live_site ) );
session_start();
if ($database->loadObject( $row )) {

$_SESSION = $row->cb_acctyperadio;

}
[/code:1]

Please advise.

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.461 seconds

Facebook Twitter LinkedIn