Session expires

  • Thread starter Thread starter Rahul Kansara
  • Start date Start date
R

Rahul Kansara

Hi,
I have an web application which I am able to access on one machine,
but the same gives me problem when accessed through other machine.
The only difference I could fine out between these two machines is the
one where i am able to access my application has Internet Explorer
6.0.
The other machine where my application gives problem has Internet
Explorer 6.0 with Service Pack 1.
The problem is as soon as i log in to my application my session
expires. I don't know why it's happening with IE 6.o with SP1.

If any body have some idea pls let me know

Thanks and regards

Rahul
 
Greetings Rahul:

The browser can effect session state information. In order to maintain session information in the 'internet' zone, either "First Party Cookies" and/or "Always
allow session cookies" must be allowed in the Internet Explorer.
< In IE: Menu: Tools -> Internet Options for the Internet Options panel. Tab: Privacy, button: Advanced for the "Advanced Privacy Options dialog. >

These settings do not apply to the 'local intranet zone' where session information is maintained despite the options chosen here. This leads to the
IWOMDS ('It Works On My Desk Syndrome')

Other reasons for the loss of session information are:

* Session timeout. In ASP, this is an IIS setting. In ASPX, this is set in the web.config file for the application.

* If the IIS worker process fails for some reason, such as an application crash, a change or anti-virus touch of the global.asp file, the session information is
reset.

PRB: Session Data Is Lost When You Use ASP.NET InProc Session State Mode
http://support.microsoft.com/?id=324772

* If using a Web Garden, session state is not maintained from one processor to another processor in the garden.

IIS 6.0 Session State May Be Lost If You Use Web Gardens with ASP
http://support.microsoft.com/?id=822171

* Use of a Frameset where frame s point to seperate Web Sites can lose Session information due to P3P standards (Platform for Privacy Preferences)

PRB: Session Variables Are Lost If You Use FRAMESET in Internet Explorer
http://support.microsoft.com/?id=323752

* ASP.NET session management information
INFO: ASP.NET State Management Overview
http://support.microsoft.com/?id=307598
- and -
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconsessionstate.asp


-rwg
This is what I think, not necessarily what is accurate!

--------------------
| From: (e-mail address removed) (Rahul Kansara)
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| Subject: Session expires
| Date: 15 Mar 2004 00:27:38 -0800
| Organization: http://groups.google.com
| Lines: 16
| Message-ID: <[email protected]>
| NNTP-Posting-Host: 202.149.192.238
| Content-Type: text/plain; charset=ISO-8859-1
| Content-Transfer-Encoding: 8bit
| X-Trace: posting.google.com 1079339259 1825 127.0.0.1 (15 Mar 2004 08:27:39 GMT)
| X-Complaints-To: (e-mail address removed)
| NNTP-Posting-Date: Mon, 15 Mar 2004 08:27:39 +0000 (UTC)
| Path: cpmsftngxa06.phx.gbl!cpmsftngxa09.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!
fr.ip.ndsoftware.net!in.100proofnews.com!in.100proofnews.com!news.glorb.com!postnews2.google.com!not-for-mail
| Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:218524
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| Hi,
| I have an web application which I am able to access on one machine,
| but the same gives me problem when accessed through other machine.
| The only difference I could fine out between these two machines is the
| one where i am able to access my application has Internet Explorer
| 6.0.
| The other machine where my application gives problem has Internet
| Explorer 6.0 with Service Pack 1.
| The problem is as soon as i log in to my application my session
| expires. I don't know why it's happening with IE 6.o with SP1.
|
| If any body have some idea pls let me know
|
| Thanks and regards
|
| Rahul
|
 
rwg said:
Greetings Rahul:

Other reasons for the loss of session information are:
....

* Underscore in the server name :). Funny but true. I spent whole
eventing trying to work out session problem and it was the server name.

Regrads,
mirek
 
Back
Top