The information in this article applies to:
SUMMARYFor efficiency Active Server Pages (ASP) maintains a session only when session variables are used. To keep track of a session, ASP sends a cookie to the client. This cookie contains the client's session ID and is used when requesting the session variable from the Web server. When session variables are used, the session is maintained until the session times out or is abandoned. MORE INFORMATION
One way to see if a session is being maintained is to display the
SessionID. To do this, simply create an ASP page that contains the
following code:
If the value changes every time the page is refreshed, then the session is not being maintained. NOTE: Because Active Server Pages keeps track of sessions with cookies, the browse must be configured to receive cookies. REFERENCESFor additional information, please see the following articles in the Microsoft Knowledge Base: Q172864 ASP Pages Fail on Access to Session and Application Objects Additional query words:
Keywords : kbASP kbASPObj kbGrpASP kbiis400 kbiis500 |
Last Reviewed: December 8, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |