billchan Posted February 21, 2007 Share Posted February 21, 2007 Does any one have problem in firefox? I set a session variable which read correctly in IE6 but the same coding give me different value in Firefox 2.0. Quote Link to comment https://forums.phpfreaks.com/topic/39502-session-variable-shows-difference-on-firefox-20-brower/ Share on other sites More sharing options...
ted_chou12 Posted February 21, 2007 Share Posted February 21, 2007 please post the relevant part of your code, so we can have a better understanding of the issue regarding the problem of firefox. Ted Quote Link to comment https://forums.phpfreaks.com/topic/39502-session-variable-shows-difference-on-firefox-20-brower/#findComment-190683 Share on other sites More sharing options...
zq29 Posted February 21, 2007 Share Posted February 21, 2007 Sessions are specific to the browsers session, loading a site in IE will generate a session ID, loading the same site, on the same machine, at the same time, but in FireFox will generate a different session ID - Or am I missing something? Quote Link to comment https://forums.phpfreaks.com/topic/39502-session-variable-shows-difference-on-firefox-20-brower/#findComment-190803 Share on other sites More sharing options...
neylitalo Posted February 21, 2007 Share Posted February 21, 2007 You're correct, SA - different browsers will generate different session IDs. But I don't think the session variable in concern here is the session ID - Unless I, too, am missing something. Quote Link to comment https://forums.phpfreaks.com/topic/39502-session-variable-shows-difference-on-firefox-20-brower/#findComment-190876 Share on other sites More sharing options...
billchan Posted February 22, 2007 Author Share Posted February 22, 2007 Thank you for replying the post so soon. Actually, I don't think the problem has anything to do with the sessionID. In PHP, I set a session variable $_session['BSS'] =" AND PtyAction in ('S', 'A') AND PtyState = 'OK' ". When I retrieve this variable in other PHP page, in IE6 it gives me the same thing but in Firefox 2.0.0.1 gives me "AND PtyAction = 'L' AND PtyState = '' ". I have no idea where does it comes from. The same page but access by 2 different browsers gives me 2 different results. Quote Link to comment https://forums.phpfreaks.com/topic/39502-session-variable-shows-difference-on-firefox-20-brower/#findComment-190970 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.