Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

sessions, IE and an esoteric problem

Status
Not open for further replies.

kubla

Programmer
Feb 7, 2002
50
IT
Hi All,

I'm going to do my best to articulate what's happening here.

I've written an application which uses sessions to authenticate users and then grants them access to various routines depending on their user level.

It works as I intended with one extremely annoying exception:

If someone logs on using IE, on the same subnet as the server, and has specified in their network settings to not use a proxy for address beginning with (eg. 192.168.1.*) then they are logged in, variables are set in the session container on the server, but then all the variables stored in the session will be destroyed the first time they access an application.

If, without closing their browser, they then logout and log back in as the same or a different user, everything works perfectly.

None of this happens if the user accesses the application through the proxy.

None of this happens if the user accesses the application from a different network.

None of this happens if the user doesn't manually enter the subnet in the options setting of IE.

None of this happens if the user accesses the application via *any other* browser running on Linux or Windows regardless of whether they access the application via the proxy nor not.

Any ideas?
 
Well, I'm having my own discussion here... but just to close the matter, in case anyone is browsing the archive with a similar issue:

The problem rests in a piece of their-party javascript which, for some reason I've not been able to solve yet, is contacting the server and in the process overwriting the values stored in the session.

The reason it's occuring in IE only is that the javascript has a seperate menuing function for IE and one for all other browsers.

It has nothing to do with PHP or sessions or the server or proxy configuration.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top