Guest boita2kuk Posted April 20, 2007 Share Posted April 20, 2007 hey guys just wondering whats the best way to set a session? is it session_register() or $_session['name'] = 'john' cheers Link to comment https://forums.phpfreaks.com/topic/47920-php-session-varaible/ Share on other sites More sharing options...
kenrbnsn Posted April 20, 2007 Share Posted April 20, 2007 The session_register() function is being phased out and shouldn't be used. Ken Link to comment https://forums.phpfreaks.com/topic/47920-php-session-varaible/#findComment-234182 Share on other sites More sharing options...
neel_basu Posted April 20, 2007 Share Posted April 20, 2007 To use sessions first you have to do session_start(); Link to comment https://forums.phpfreaks.com/topic/47920-php-session-varaible/#findComment-234186 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.