antonyjohn Posted August 13, 2007 Share Posted August 13, 2007 In my site each user should be given a unique session id.. how to do it Quote Link to comment https://forums.phpfreaks.com/topic/64617-creating-unique-session-id/ Share on other sites More sharing options...
NArc0t1c Posted August 13, 2007 Share Posted August 13, 2007 PHP already does this for you. Look for a cookie called "PHPSESSID". It's md5 encrypted and is set to expire at the end of the session. Quote Link to comment https://forums.phpfreaks.com/topic/64617-creating-unique-session-id/#findComment-322155 Share on other sites More sharing options...
jeeva Posted August 13, 2007 Share Posted August 13, 2007 you can give auto increament id in database for user table and store that id into session while user login into the sysytem so that ur user will have unique session id Quote Link to comment https://forums.phpfreaks.com/topic/64617-creating-unique-session-id/#findComment-322156 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.