Home   Help Login Register  
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

Search
WooThemes - Quality Themes, Great Support
Pages: [1]   Go Down
Print
Topic: ASPSESSIONID cookies in ASP page  (Read 1063 times)
« on: September 30, 2008, 08:58:27 PM »
HRamesh Offline
Newbie

View Profile
*

iTrader: 0
Posts: 34



Hi,

Whenever, I browse any ASP pages in my web site, it creates the cookies ASPSESSIONID by default. Is there any way through which I can block this so that it doesn't create ASPSESSIONID cookies for ASP page by default?

Thanks,

Ramesh
Logged
« Reply #1 on: October 01, 2008, 12:38:41 PM »
Kevin Offline
Newbie

View Profile
*

iTrader: 2
Posts: 72



The easy and simple way to disable ASP session state is to add the following code in the starting of your Active Server Page (ASP):

<%@ EnableSessionState=False %>

Please note that the above code should be the first line in your page otherwise it will give you an error.

Kevin
Logged
Pages: [1]   Go Up
Print
Jump to:  

Untitled Document
(c) 2010 HELM, WHM, cPanel, ASP, .Net development, PHP, MySQL, MSSQL Server, SEO support forum
Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC | Forum style designed by PixelSlot
Web Hosting - Sitemap - XML Sitemap