jkewlo Posted March 20, 2008 Share Posted March 20, 2008 how do i go about creating a session(s)? Quote Link to comment 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 Quote Link to comment 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 Quote Link to comment 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... Quote Link to comment 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? Quote Link to comment Share on other sites More sharing options...
clown[NOR] Posted March 20, 2008 Share Posted March 20, 2008 $_SESSION['username'] = $username; Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.