Design and Development > ASP
ASPSESSIONID cookies in ASP page
(1/1)
HRamesh:
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
Kevin:
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
Navigation
[0] Message Index
Go to full version