Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Where are cookies stored ?

Reply
Thread Tools

Where are cookies stored ?

 
 
Paul White
Guest
Posts: n/a
 
      07-20-2003

I'm playing around with cookies via ASP.

Where does the phyical cookie get stored ?




 
Reply With Quote
 
 
 
 
Adrienne
Guest
Posts: n/a
 
      07-20-2003
Gazing into my crystal ball I observed "Paul White"
<(E-Mail Removed)> writing in news:kpoSa.4850$OM3.1991@news-
server.bigpond.net.au:

>
> I'm playing around with cookies via ASP.
>
> Where does the phyical cookie get stored ?
>
>
>
>
>


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) -
http://www.analogx.com/contents/down...ork/cookie.htm

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"
else
response.write "Use some other method to pass variables"
end if
%>

--
Adrienne Boswell
Please respond to the group so others can share
http://www.arbpen.com
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Where are Cookies Files Stored in Vista now? Alex Maghen ASP .Net 2 09-29-2008 03:30 PM
Give Request.Cookies and Response.Cookies is there any reason to use another method to use cookies? _Who ASP .Net 7 09-18-2008 07:49 PM
where are cookies stored ? cmrchs@gmail.com ASP .Net 5 08-25-2008 06:07 PM
Switching from Mozilla to FireFox without loosing my stored cookies and passwords Daniel Prince Firefox 1 12-11-2004 11:03 PM
Writing multiple cookies, only one is stored Tim Strawhacker Java 2 07-21-2003 05:08 PM



Advertisments