Link to home
Start Free TrialLog in
Avatar of Arikkan
ArikkanFlag for United States of America

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.
Avatar of Dave Baldwin
Dave Baldwin
Flag of United States of America image

Are you testing on 'localhost'?  Chrome won't accept cookies on 'localhost'.
Avatar of Arikkan

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?
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/
Avatar of Arikkan

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?
I don't know, that's why I recommended Wireshark.
Avatar of Arikkan

ASKER

Ok. Let me try that.
ASKER CERTIFIED SOLUTION
Avatar of Dave Baldwin
Dave Baldwin
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial