Arikkan
asked on
Session lost on Chrome
I have a peculiar problem.
I have a VB.Net Web application deployed on the server and it was working with all browsers (IE/Chrome/Firefox/Safari)
Now we switched the .Net Framework from 3.5 to 4.0 and the application works perfectly fine on every browser EXCEPT Chrome.
In chrome, the session is retained as long as I am on the same page. But surprisingly, I just loose the session on using "Response.Redirect(....)" to another page.
I tried chrome in Windows and even Chrome on MAC. It is the same behavior. Cookies are enabled and we have not changed anything else except the framework.
I am totally lost here.
I have a VB.Net Web application deployed on the server and it was working with all browsers (IE/Chrome/Firefox/Safari)
Now we switched the .Net Framework from 3.5 to 4.0 and the application works perfectly fine on every browser EXCEPT Chrome.
In chrome, the session is retained as long as I am on the same page. But surprisingly, I just loose the session on using "Response.Redirect(....)" to another page.
I tried chrome in Windows and even Chrome on MAC. It is the same behavior. Cookies are enabled and we have not changed anything else except the framework.
I am totally lost here.
Are you testing on 'localhost'? Chrome won't accept cookies on 'localhost'.
ASKER
Hi,
The following scenarios work:
1. I have tested the application on localhost (With Chrome and other browsers) -- Works good.
2. I even hosted the solution on my local machine and browsed from remote machine (With Chrome and other browsers) -- Works good
Now as soon as I deploy application on Server:
1. It works with every Browser
2. With Chrome, session is lost on every page I change.
Any ideas?
The following scenarios work:
1. I have tested the application on localhost (With Chrome and other browsers) -- Works good.
2. I even hosted the solution on my local machine and browsed from remote machine (With Chrome and other browsers) -- Works good
Now as soon as I deploy application on Server:
1. It works with every Browser
2. With Chrome, session is lost on every page I change.
Any ideas?
What's the server on the different machines? You can use Wireshark to monitor the network traffic to see what is different. https://www.wireshark.org/
ASKER
The server is Win Server 2008 R2 Standard, IIS7.
It has many more hosted applications and every browser is running fine on those other hosted applications.
Just my application hosted on server is failing (Only on Chrome). :-(
Now why would only Chrome fail?
It has many more hosted applications and every browser is running fine on those other hosted applications.
Just my application hosted on server is failing (Only on Chrome). :-(
Now why would only Chrome fail?
I don't know, that's why I recommended Wireshark.
ASKER
Ok. Let me try that.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
ok. We narrowed it down to some issue on the server.
https://www.experts-exchange.com/questions/28630458/Issue-in-IIS-Web-Application.html
https://www.experts-exchange.com/questions/28630458/Issue-in-IIS-Web-Application.html