473,406 Members | 2,954 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Weird Session Behavior in Browser

Tom
I'm pretty sure this is an unusual case and I suspect it has as much
to do with what the browser is doing as it does PHP on the server, but
the behavior defies anything I would have expected. What happened:

I have a script that depends on sessions to pass some data between
pages. If register_globals is on, the session fails for reasons I've
explained here:

http://phosphorusandlime.blogspot.co...clarified.html

So when I uploaded my script to my host server, register_globals (RG)
was on and the script failed to preserve data. Ok, I turned RG off.
Now what is curious is, after I did this and tried the script again in
my browser (Firefox), the script continued to fail to preserve data.
At first, I figured either it was a delay in the server applying the
new settings or something with caching in my browser. I tried script
again in new browser (IE 7) and everything worked. Tried script on
different computer with Firefox: everything ok.

Now this is what has me baffled:

When I closed Firefox and restarted, the script continued to fail to
preserve session data. Even more baffling, after I completely shut
down my computer, rebooted, and tried again, script *still* failed to
preserve Session data. Continues to this day, only on this browser on
this computer. Meanwhile, other changes to the script/webpage are
reflected.

I'm concluding that it has something to do with the caching in my
Firefox browser. But that doesn't really make sense, since shouldn't
this all be dictated by what's going on server-side? I've looked in
Firefox for a cookie that might be somehow preserving an old setting,
but can't find one.

Anyone know what's really going on here?

Feb 22 '07 #1
0 1097

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

27
by: mrbog | last post by:
Tell me if my assertion is wrong here: The only way to prevent session hijacking is to NEVER store authentication information (such as name/password) in the session. Well, to never authenticate...
2
by: Marcio Kleemann | last post by:
I've run across some very strange behavior when running and debugging an asp.net application. I have created a shortcut to the URL of the app (which runs locally on IIS under XP Pro). If I use the...
4
by: Aidas Pasilis | last post by:
I'm saving some values to the Session state and get some strange results. To be short I'll write example code and standart behavior: Code Example:...
7
by: Bill | last post by:
I've noticed that in my ASP application that session variables are not carried over from one IE6 open browser window to another. Can anyone tell me how IE can do this? It seems like it's a useful...
7
by: Victor | last post by:
I've got two domain names sharing the same IP address that use ASP VBScript If I set a session variable with domain 1, it is only available for domain 1 - this is correct? If I set an...
18
by: BillE | last post by:
When a user opens a new IE browser window using File-New-Window the integrity of an application which relies on session state is COMPLETELY undermined. Anyone who overlooks the fact that...
26
by: BillE | last post by:
Some ASP.NET applications use Session Variables extensively to maintain state. These should be re-written to use viewstate, hidden fields, querystring, etc. instead. This is because if a user...
3
by: Arnost Sobota | last post by:
Dear ASP community, I have a question regarding ASP session variables. My assumption was that a session variable has the same lifetime as the session itself: as a consequence, given that...
1
by: =?Utf-8?B?YWxiZXJ0bHk=?= | last post by:
How can I create a new session from the existing session in asp.net when new IE session is opened using javascript's window.open method or user's hyperlink click? I have a web application which...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.