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. Link to comment https://forums.phpfreaks.com/topic/22704-strip_tagssid/ Share on other sites More sharing options...
JasonLewis Posted October 2, 2006 Share Posted October 2, 2006 what exactly are you trying to do? Link to comment https://forums.phpfreaks.com/topic/22704-strip_tagssid/#findComment-102165 Share on other sites More sharing options...
manmanman Posted October 2, 2006 Author Share Posted October 2, 2006 A login form. Link to comment https://forums.phpfreaks.com/topic/22704-strip_tagssid/#findComment-102668 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 Link to comment https://forums.phpfreaks.com/topic/22704-strip_tagssid/#findComment-102982 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'] Link to comment https://forums.phpfreaks.com/topic/22704-strip_tagssid/#findComment-103523 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! Link to comment https://forums.phpfreaks.com/topic/22704-strip_tagssid/#findComment-103525 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. Link to comment https://forums.phpfreaks.com/topic/22704-strip_tagssid/#findComment-103555 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.