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? Quote Link to comment 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.... Quote Link to comment Share on other sites More sharing options...
schilly Posted August 19, 2009 Author Share Posted August 19, 2009 awesome. thanks. 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.