Link to home
Avatar of Caliguian
Caliguian

asked on

ASP Sessions not working in Internet Explorer, but do work in Firefox

We have a bunch of websites running off of one of our servers, and all are functioning correctly except for one.  The problem with this one website seems to be that the session information does not save when going from one page to another (or even when you refresh the same page).  The site appears to be setup the same as the others, but for whatever reason this one just isn't working.  And to add to confusion, the site DOES work in Firefox, but not in Internet Explorer.

To see this in action I have created two pages:  SessionTest.asp and SessionEnabled.asp

Basically the SessionTest.asp page sets a session variable and then forwards you on to the SessionEnabled.asp page to check if it still exists on another page.

Try hitting the sessiontest.asp page with Internet Explorer and you can refresh the page and see a new session ID value every time the page reloads, but doing the same thing in FireFox keeps your original ID and sessions work as expected.

http://kegels_test.steton.com/SessionTest.asp

Please help... I have been banging my head on this for the past couple of days and I don't know what else to look at.
Avatar of ddelhez
ddelhez

your link doesn't work...
he/she is right, neither does sessionEnabled.asp
Avatar of Caliguian

ASKER

Ah crap, it is set to internal access only... without being able to see the test, which shows what I already described above, any clues as to what might cause this or how to fix it?
SOLUTION
Avatar of ddelhez
ddelhez

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Actually tried that a few time, but it didn't clear it up.
SOLUTION
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
Thanks for the tip netsmith.  I have verified the settings and am able to run the same application on a different site in IE, but for some reason it just doesn't work on this site... the sessions just refuse to save for IE.
ASKER CERTIFIED SOLUTION
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
hey Scripter25, that's actually the same test I was mentioning in the first post... the session variables are not being carried over to the next page, and the sessionID is different from page to page (and even on the same page when it is refreshed).
SOLUTION
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
Okay, we got it figured out.  The URL was http://kegels_test.steton.com/ (as shown in the first comment)... URLs are not allowed to have underscores in their names!  Doh!  What a pain to figure that one out.  I have no idea why it worked in FireFox though.

Changing the URL to not have underscores cleared the problem right up.

Thanks for all of your suggestions everyone.