Loading ...

How do you disable cookies for your site and only one page in your site?

Who is online?  0 guests and 0 members
home  »  forums   »  asp.net topics   »  getting started / general asp.net   » How do you disable cookies for your site and only one page in your site?

How do you disable cookies for your site and only one page in your site?

Posts under the topic: How do you disable cookies for your site and only one page in your site?

Posted: 1/13/2010

Lurker 5  points  Lurker
  • Joined on: 1/13/2010
  • Posts: 1

 Hi a have tried this in web.config file

 <sessionState mode="InProc" cookieless="true" timeout="20"  />

is it ok?

and how could i disable only one page in my site

please reply


Posted: 10/11/2010

Lurker 80  points  Lurker
  • Joined on: 9/14/2010
  • Posts: 8
  Answered

hi sachin it will make cookieless in all pages and if you want to apply cokkieless for single page you need to set EnableSessionState="False" in pageredirective of particular page

 


Posted: 10/11/2010

Professional 8338  points  Professional
  • Joined on: 4/15/2009
  • Posts: 424
  Answered

Seem like your question is already answered here =}: http://forums.asp.net/t/1513748.aspx


Page 1 of 1 (3 items)