marke1
asked on
REDIRECT to ASP site causes ASP SESSION to end after 2nd new browser window opened - Bizarre!!
This is a bizarre issue that I can't resolve.
We have a web product on a dedicated server that uses ASP pages (and global.asa)
Some of the sites on this server use anonymous access and some use just challange/response, but this makes no difference to this issue
The application operates in one main browser window, but also opens some new browser windows to perform some functions and show information pages
If you use favourites or type in the URL to the browser to gain access to the site , it works fine and lots of windows can be open/closed as necessary as the application is used, and the ASP session remains intact
BUT.... if the site is called via a redirect from another web site (internal or external), the ASP session is created and remains intact for the main window, but after a second new browser window is opened the ASP session is killed. After the first new window is opened, everything is fine and the main browser window operates as normal with multiple page requests causing no problem - it's only when the second new window is opened that the ASP session is immediately killed.
This problem is perfectly consistent and recreatable. It is very obvious when anonymous login is not enabled, because the challenge response re-requests a username and password to access the server.
Help!!
Thanks
Mark
We have a web product on a dedicated server that uses ASP pages (and global.asa)
Some of the sites on this server use anonymous access and some use just challange/response, but this makes no difference to this issue
The application operates in one main browser window, but also opens some new browser windows to perform some functions and show information pages
If you use favourites or type in the URL to the browser to gain access to the site , it works fine and lots of windows can be open/closed as necessary as the application is used, and the ASP session remains intact
BUT.... if the site is called via a redirect from another web site (internal or external), the ASP session is created and remains intact for the main window, but after a second new browser window is opened the ASP session is killed. After the first new window is opened, everything is fine and the main browser window operates as normal with multiple page requests causing no problem - it's only when the second new window is opened that the ASP session is immediately killed.
This problem is perfectly consistent and recreatable. It is very obvious when anonymous login is not enabled, because the challenge response re-requests a username and password to access the server.
Help!!
Thanks
Mark
session will end if window is closed
new window wont get the session value
follow up pls..
ASKER
rsashi
Thanks for the comments
The main browser window is always open in the background. It is the new info browser windows that open on top that cause the problem, but only when the site is opened from another site, not if the site is accessed via favourites or typed into the address bar.
The application is fine - the issue I need resolving is why the sessions is terminated just because the site is called via a redirect...
Mark
Thanks for the comments
The main browser window is always open in the background. It is the new info browser windows that open on top that cause the problem, but only when the site is opened from another site, not if the site is accessed via favourites or typed into the address bar.
The application is fine - the issue I need resolving is why the sessions is terminated just because the site is called via a redirect...
Mark
send the code pls..
ASKER
Thanks for the comment
The redirect from a web page is a simple <A href=.....> tag
The new windows get opened (from the main browser window) using window.open script (pop up information windows)
I don't think the code is the issue the application works fine if called via the address bar on the browser- I think it relates to something more general like a setting in IIS which is affected when the application is called via an external link.
Thanks
Mark
The redirect from a web page is a simple <A href=.....> tag
The new windows get opened (from the main browser window) using window.open script (pop up information windows)
I don't think the code is the issue the application works fine if called via the address bar on the browser- I think it relates to something more general like a setting in IIS which is affected when the application is called via an external link.
Thanks
Mark
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
Split Points - apollois / lavinder
Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
GaryC123
EE Cleanup Volunteer
I will leave a recommendation in the Cleanup topic area that this question is:
Split Points - apollois / lavinder
Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
GaryC123
EE Cleanup Volunteer
ASKER
happy to split the points as suggested
Mark
Mark
At the bottom of the page where you have Collaboration there is a Split option, click that then its all self explanatory.