Forum Moderators: open
I don't need it, (I don't think) as I'm not using session variables (yet) can I get rid of it and if so (In laymans terms please!) How?
I've found out how to add headers in asp but can't find out how to remove one that I'm not setting
any advice on headers welcome
Thanks
Suzy
To disable session management there are two routes; they are covered in KB article Q244465 which you can look up on the msdn.microsoft.com site.
By the sound of it the "code only" method isn't what you want as it only disables server-side session management rather than actually stopping the session cookie being sent out (Haven't had a chance to try it yet so not certain).
But to give you the quick summary;
Method 1 - Server Configuration
Open the Internet Information Services Manager, right-click your Web application and click Properties.
On the "Directory Properties" tab, click the "Configuration" button - from here select the "App Options" tab, untick the "Enable Session State" box.
Method 2 - Script Command
Disable session state for a specific ASP page by adding the following directive at the top of the ASP page:
<%@ EnableSessionState=False %>
- Tony