Home   Help Login Register  
Welcome, Guest. Please login or register.

Login with username, password and session length

Search
Free Website WooThemes - Quality Themes, Great Support
Pages: [1]   Go Down
Print
Topic: ASPSESSIONID cookies in ASP page  (Read 2082 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

Share this topic on AskShare this topic on BlinkbitsShare this topic on BlinklistShare this topic on BloglinesShare this topic on BmarksShare this topic on Del.icio.usShare this topic on DiggShare this topic on DzoneShare this topic on FacebookShare this topic on Feed Me LinksShare this topic on FurlShare this topic on GoogleShare this topic on LiveShare this topic on MagnoliaShare this topic on MySpaceShare this topic on NetvouzShare this topic on NewsvineShare this topic on OneviewShare this topic on RedditShare this topic on RojoShare this topic on ScuttleShare this topic on ShadowsShare this topic on SlashdotShare this topic on SpurlShare this topic on SquidooShare this topic on StumbleUponShare this topic on TechnoratiShare this topic on TwitterShare this topic on TipdShare this topic on YahooShare this topic on Google buzz
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.16 | SMF © 2011, Simple Machines | Forum style designed by PixelSlot
Web Hosting - Sitemap - XML Sitemap