all groups > dotnet jscript > may 2004 >
You're in the

dotnet jscript

group:

i can't find the $*@ cookie file!


i can't find the $*@ cookie file! Jason Shohet
5/11/2004 12:53:05 PM
dotnet jscript:
I'm writing a javascript cookie, being called from an asp.net page. (i have
a reason for doing it in js, not .NET cookie). When I do:
window.document.write(document.cookie); I see:

machinename=jshohet; ...

So I know the cookie is there! I named the cookie, machinename. But when i
do a search on machinename*.*, I can't find it.
TY
jason shohet

Re: i can't find the $*@ cookie file! Jason Shohet
5/11/2004 1:19:05 PM
ok here is my exact code for writing the cookie:

setCookie(name, value, expires, path, domain, secure)
{..... you know the regular stuff.....}

then later I call it like this:
setCookie("machinename", "jshohet", "", "", "", "")

So, I'm looking in documents and settings under my user, and can't find any
cookie file :(

TY for any help


Re: i can't find the $*@ cookie file! Chris R. Timmons
5/12/2004 2:17:41 AM
"Jason Shohet" <__ash477@yahoo.com> wrote in
news:urZBvx3NEHA.268@TK2MSFTNGP11.phx.gbl:

[quoted text, click to view]

Jason,

A cookie without an expiration date is a "session" cookie, and will
be deleted when the browser is closed. It's entirely possible the
browser keeps these "session" cookies in memory and never writes them
to disk...


Hope this helps.

Chris.
-------------
C.R. Timmons Consulting, Inc.
Re: i can't find the $*@ cookie file! Jason Shohet
5/12/2004 11:02:26 AM
expiration or no expiration, the cookie doesn't appear. Just the index.dat
gets updated.... however i see cookies in there from yahoo, google etc.
Mine is just going into index.dat for some reason?

AddThis Social Bookmark Button