Re: [PHP] CookieMonster

2005-09-01 Thread Tom Dodson
You can.. Dont include the expire argument.. or set it to 0. Jason Sorry for clogging your inbox, Jason, I didn't CC: the list the first time. if you don't set the expire argument (it's optional), the cookie expires at the end of the browser session. I think the best you can do is set th

Re: [PHP] CookieMonster

2005-09-01 Thread Jason Davidson
You are right, ignore my post. Jason On 9/1/05, John Nichel <[EMAIL PROTECTED]> wrote: > > Jason Davidson wrote: > > You can.. Dont include the expire argument.. or set it to 0. > > No. Do this, and the cookie will expire when you close the browser window. > > -- > John C. Nichel > ÜberGeek >

Re: [PHP] CookieMonster

2005-09-01 Thread John Nichel
Jason Davidson wrote: You can.. Dont include the expire argument.. or set it to 0. No. Do this, and the cookie will expire when you close the browser window. -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscrib

Re: [PHP] CookieMonster

2005-09-01 Thread Philip Hallstrom
You can.. Dont include the expire argument.. or set it to 0. You sure? The manual says (last sentence): expire The time the cookie expires. This is a Unix timestamp so is in number of seconds since the epoch. In other words, you'll most likely set this with the time() function plus the numb

Re: [PHP] CookieMonster

2005-09-01 Thread Mikey
Jason Davidson wrote: You can.. Dont include the expire argument.. or set it to 0. Jason On 9/1/05, Philip Hallstrom <[EMAIL PROTECTED]> wrote: Simple question I guess.. How do I set a cookie so it will never expire? (I don't want it to expire) You can't really... I could delete

Re: [PHP] CookieMonster

2005-09-01 Thread Jason Davidson
You can.. Dont include the expire argument.. or set it to 0. Jason On 9/1/05, Philip Hallstrom <[EMAIL PROTECTED]> wrote: > > > Simple question I guess.. > > > > How do I set a cookie so it will never expire? (I don't want it to > expire) > > You can't really... I could delete it and that woul

Re: [PHP] CookieMonster

2005-09-01 Thread Philip Hallstrom
Simple question I guess.. How do I set a cookie so it will never expire? (I don't want it to expire) You can't really... I could delete it and that would be the same as expiring it... Best you can do is set it to expire 100 years in the future or some such... see the manual for SetCookie()

[PHP] CookieMonster

2005-09-01 Thread Gustav Wiberg
Hi Simple question I guess.. How do I set a cookie so it will never expire? (I don't want it to expire) /G @varupiraten.se -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php