Coder's Guild Mailing List

Re: Cookies

Posted by Frank Hale on 1999-10-24

> Not sure if it works okay, but have you yet tried
> the <body 
> onUnload="javascript:something()"> tag?
> 

How would I do this? I mean what would I put for the
javascript? I am using Perl to set the cookie. 

> As for the date problem, I think simply omitting the
> expiration date should 
> do it. 

Yes it partially does it. I mean the cookie will be
valid until the browser is closed, but that is only
part of what I am trying to do. I want it to make a
user have to log in everytime he visits the page no
matter if he just logged in. Say I log in and then
quickly go to another site. I then go back to my site
and I want it to make me log in again. Currently it
will not do this unless I kill Netscape and load it
again.

www.netalive.org does what I am trying to do.

__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com