manmanman Posted October 2, 2006 Share Posted October 2, 2006 strip_tags(SID) returns a blank. If I change the session name, then it works for a while, then goes kersplatty. Any idea why this is happening? No warnings or errors appear. Quote Link to comment Share on other sites More sharing options...
JasonLewis Posted October 2, 2006 Share Posted October 2, 2006 what exactly are you trying to do? Quote Link to comment Share on other sites More sharing options...
manmanman Posted October 2, 2006 Author Share Posted October 2, 2006 A login form. Quote Link to comment Share on other sites More sharing options...
JasonLewis Posted October 3, 2006 Share Posted October 3, 2006 so SID is a variable or what? cuz i never used SID. :D Quote Link to comment Share on other sites More sharing options...
manmanman Posted October 4, 2006 Author Share Posted October 4, 2006 SID (or session ID) is the hash for assigning session variables, i.e. $_SESSION['foo'] Quote Link to comment Share on other sites More sharing options...
printf Posted October 4, 2006 Share Posted October 4, 2006 SID is a constant, you can not alter it's state., if you must change the session_id(), then assign it a temp variable and alter that, but I don't see why you need to be doing that!me! Quote Link to comment Share on other sites More sharing options...
corbin Posted October 4, 2006 Share Posted October 4, 2006 From personal experience, I have determined that SID can only be used the first time the session is opened... So I tend to not rely on it. 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.