marvelous_mogli Posted July 10, 2007 Share Posted July 10, 2007 Hi, I've a peice of PHP script to track the movement between pages. On x.php I'm creating a session variable named 'mypage' and assigning it the $_SERVER['SCRIPT_URI'] This peice of code is present in almost every page except signin.php The value remains fine on all pages. But, when I access signin.php the session variable's value is getting changed to spacer.gif What could be causing this? Is there a known problem? BTW, Rewrite engine is on. There are url re-writing rules active. But none of them have anything to do with spacer.gif Any help? Link to comment https://forums.phpfreaks.com/topic/59256-_session-param-value-is-getting-changed-to-spacergif/ Share on other sites More sharing options...
trq Posted July 10, 2007 Share Posted July 10, 2007 Do you have register globals on? Link to comment https://forums.phpfreaks.com/topic/59256-_session-param-value-is-getting-changed-to-spacergif/#findComment-294305 Share on other sites More sharing options...
marvelous_mogli Posted July 10, 2007 Author Share Posted July 10, 2007 register_globals = Off It's off. Also, there are no variables of the name mypage Link to comment https://forums.phpfreaks.com/topic/59256-_session-param-value-is-getting-changed-to-spacergif/#findComment-294313 Share on other sites More sharing options...
trq Posted July 10, 2007 Share Posted July 10, 2007 Well, somewhere along the line this variabe is getting overridden. I'de say youve got the task of sifting through all your code looking for the place where that might happen. I don't see any common issue here providing register globals are off as you say. Link to comment https://forums.phpfreaks.com/topic/59256-_session-param-value-is-getting-changed-to-spacergif/#findComment-294323 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.