views:

872

answers:

4

Hi,

I am trying to fix an ASP.NET application that is also written is VB and uses session variables to store the information from the logging page. In Firefox, the application runs just fine, but in IE (I am using IE 8), when I summit the logging credentials, the session variables become empty (takes me back to the logging page).

The weird thing is that when I move the privacy settings in IE (doesn't matter if high to low, or low to high) and enter the logging information again, the application runs great. Also if I restart IIS 6.0 the application runs great. What's going on? Please, help me. Thanks.

A: 

Once you restart IIS, how long does it work fine for?

You might be encountering some Application Pool issues.

Is this a new site? If so, you might have some architecture issues.

Jack Marchetti
The site is new and is not on production yet. I have tested it for about an hour, and there are times (randomly) when it requires re-entering the credentials.
If after an hour suddenly you need to re-enter your credentials, what is your session timeout? Is it on a sliding expiration or absolute expiration?
Jack Marchetti
I used the IIS 5.0 isolation mode and the application runs fine. The only problem is that IE ask me for my credentials on one of the pages, and it doesn't authenticate me. On the other hand Firefox does.
A: 

What's the setting of the smartnavigation property? try setting it to false, I have had strange behaviour similar to yours in the past.

tekBlues
Is that property in every page? sorry, I am new to ASP.
+1  A: 

The Session object uses a browser cookie to identify the session from one page to the next. Do you have cookies enabled in your browser?

Remy Lebeau - TeamB
Yes I have cookies enabled in both IE and Firefox.
A: 

I am running the application in IIS 5.0 isolation mode and I modified the folder permissions for the crystal report files (.rpt); everything is working fine. Is there anything I should be aware of? Thanks.