jkewlo Posted March 20, 2008 Share Posted March 20, 2008 how do i go about creating a session(s)? Link to comment https://forums.phpfreaks.com/topic/97166-sessions-help/ Share on other sites More sharing options...
kenrbnsn Posted March 20, 2008 Share Posted March 20, 2008 You us <?php session_start(); ?> in each script where you want to uses sessions. Also read fine manual Ken Link to comment https://forums.phpfreaks.com/topic/97166-sessions-help/#findComment-497199 Share on other sites More sharing options...
clown[NOR] Posted March 20, 2008 Share Posted March 20, 2008 http://no2.php.net/manual/en/ref.session.php would be a good start Link to comment https://forums.phpfreaks.com/topic/97166-sessions-help/#findComment-497201 Share on other sites More sharing options...
pauleth Posted March 20, 2008 Share Posted March 20, 2008 Yeah, dude, it's probably much easier than you think. Sessions are such a critical part of PHP, so they made it as intuitive, yet functional as possible. I agree - either read the man page on it, or find a website with a tutorial... Link to comment https://forums.phpfreaks.com/topic/97166-sessions-help/#findComment-497206 Share on other sites More sharing options...
jkewlo Posted March 20, 2008 Author Share Posted March 20, 2008 yeah so like if i wanted to store a username i would do like $SESSION(username) = $username; sort to speak? Link to comment https://forums.phpfreaks.com/topic/97166-sessions-help/#findComment-497208 Share on other sites More sharing options...
clown[NOR] Posted March 20, 2008 Share Posted March 20, 2008 $_SESSION['username'] = $username; Link to comment https://forums.phpfreaks.com/topic/97166-sessions-help/#findComment-497219 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.