Where are cookies stored ?

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

I'm playing around with cookies via ASP.

Where does the phyical cookie get stored ?

Re: Where are cookies stored ?

Gazing into my crystal ball I observed "Paul White"

Quoted text here. Click to load it

If a user accepts cookies, then they are stored in a special area by the
user's browser.  

If you would like to see cookies in action, block or accept, get the
CookieWall from AnalogX (free) -

ASP session cookies are a slightly different animal.  If a user is
blocking all cookies, including session cookies, then session variables
like session("sessionid") will not work either.

Here the way I use to see if users are accepting session cookies.

For example,

At the top of page 1 you do:
dim thesessionid

thesessionid = session("SessionId")

and a link: <a href="cookietest.asp?id=<%=thesessionid%>">Test Cookie</a>

Then on cookietest.asp do this:

dim thesessionid

thesessionid = request.querystring("thesessionid")

if thesessionid = session("SessionID") then
        response.write "We have a winner"
     response.write "Use some other method to pass variables"
end if

Adrienne Boswell
Please respond to the group so others can share

Site Timeline