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 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. 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 Link to comment https://forums.phpfreaks.com/topic/64617-creating-unique-session-id/#findComment-322156 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.