Using Session Objects with Session State Disabled Returns Type Mismatch Error (242425)
The information in this article applies to:
- Microsoft Internet Information Services 5.0
- Microsoft Internet Information Server 4.0
This article was previously published under Q242425 We strongly recommend that all users upgrade to Microsoft Internet Information Services (IIS) version 6.0 running on Microsoft Windows Server 2003. IIS 6.0 significantly increases Web infrastructure security. For more information about IIS security-related topics, visit the following Microsoft Web site: SYMPTOMS
When trying to use a session-level object or variable when session state is disabled, you may receive the following error message:
Microsoft VBScript runtime error '800a000d'
Type mismatch: 'Session'
/scripts/sessiontest/test.asp, line XXX
CAUSE
This behavior is by design. The session object is not registered in the scripting name space, so any executing scripts do not understand it and return a "Type mismatch" error message.
Modification Type: | Minor | Last Reviewed: | 6/23/2005 |
---|
Keywords: | kbpending kbprb KB242425 |
---|
|