schilly Posted August 19, 2009 Share Posted August 19, 2009 I'm just wondering if a session id is unique for only the period it is in use or if it's unique forever. In the long run will PHP eventually assign a session id that was used months/years ago? I'm not exactly sure what kind of hash it uses to come to the session id. how long is sessionid? 26 chars? so 26^36 possible values? Link to comment https://forums.phpfreaks.com/topic/171029-solved-session-id-question/ Share on other sites More sharing options...
jonsjava Posted August 19, 2009 Share Posted August 19, 2009 session id's are 32bit hex values. Mathematically, you can end up with duplicate session ID's but they do expire over time.... Link to comment https://forums.phpfreaks.com/topic/171029-solved-session-id-question/#findComment-902022 Share on other sites More sharing options...
schilly Posted August 19, 2009 Author Share Posted August 19, 2009 awesome. thanks. Link to comment https://forums.phpfreaks.com/topic/171029-solved-session-id-question/#findComment-902070 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.