Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: how to reset cookies


Message #1 by "Tom Lynch" <tlynch@e...> on Wed, 7 Mar 2001 17:08:02
Thank you for your reply but maybe my question came across wrong - i want 
to reset these cookies using javascript.  I know you can use javascript to 
set cookies.  I only included the asp part to try to be clear about what i 
was doing.

Thanks

> This is really an ASP question. We do have several ASP lists, for this 
kind of thing. in fact, several threads on this list are now drawing a 
fair amount of ASP-related material into them. You'd be better off asking 
these questions on a list where the population of ASP programmers is far 
higher. Remember, you can subscribe as "nomail" subscribers and view the 
threads using the web interface or the newsgroup server 
(mail.p2p.wrox.com), if you don't want to end up getting loads of mail.
> 
> Daniel Walker
> Wrox Press
> 
> > I am setting cookies using asp like this
> > 
> > Response.Cookies("logininfo")("firstname") = FirstName
> > Response.Cookies("logininfo")("lastname") = LastName
> > Response.Cookies("logininfo")("giftlevel") = EligibleGiftLevelID
> > Response.Cookies("logininfo")("dealer") = DealerName
> > Response.Cookies("logininfo")("dealerid") = dealerid
> > Response.Cookies("logininfo")("employeeid") = EmployeeID
> > Response.Cookies("logininfo")("seclevelid") = SecurityLevelID
> > 
> > i need to find a way to reset these values to "" on default.asp using 
the 
> > onload event.
> > 
> > any ideas?
> > 

  Return to Index