Divi WordPress Theme

Topic: ASPSESSIONID cookies in ASP page  (Read 6424 times)

Offline HRamesh

  • New Member
  • *
  • Posts: 34
  • iTrader: +0/-0
    • View Profile
ASPSESSIONID cookies in ASP page
« on: October 01, 2008, 09:28:27 AM »
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
VPS Hosting - AccuWebHosting

Offline Kevin

  • Junior Guru
  • **
  • Posts: 72
  • iTrader: +4/-0
    • View Profile
Turn Off ASP Session State in Active Server Pages
« Reply #1 on: October 02, 2008, 01:08:41 AM »
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
Divi WordPress Theme
Tags: