Re: Cookies and Lifetime
| From: | scott | Date: | Fri, 06 Oct 2000 01:39:27 +0000 |
| Subject: | Re: Cookies and Lifetime | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-18808@lists.php.net to get a copy of this message | ||
Yeah okay fellas,
lets just chill out here for a second. I obviously have read the manual and
can't find anything that I have found useful. I know how to set the cookie
to expire on browser exit and how to set the cookie to expire in 20 minutes
but I don't know how to do both.
ie/ if 20 minutes is up then expire the cookie but if you exit the browser
before 20 minutes then the cookie will also expire. To my understanding, If
you set the cookie to expire in 20 minutes and exit the browser, then come
back to the site in 1 minute the cookie is still valid and avilable. this is
not what I want!!
Thanks everybody,
scott.
"Joe Stump" <joe@earth.care2.com> wrote in message
news:20001005174105.B10332@zorka.com...
> On Thu, Oct 05, 2000 at 07:32:24PM -0500, Dean Hall wrote:
> > RTM. (I'm polite.)
>
> One of the few ;o) (thanks).
>
> AFAIK (As Far As I Know) you just omit the expire time and it
automagically
> expires when the browser closes - but check the manual like Dean said.
>
> --Joe
>
>
> >
> > http://www.php.net/manual
> >
> > Dean.
> > ----- Original Message -----
> > From: "scott" <scott@redbluedesign.com.au>
> > To: <php-general@lists.php.net>
> > Sent: Thursday, October 05, 2000 6:39 PM
> > Subject: [PHP] Cookies and Lifetime
> >
> >
> > > I know how to set the cookie so it will expire on browser exit (by not
> > > setting anytime), but how do you set the cookie so it will expire on
> > broswer
> > > exit and expire after 10 of inactivity??
> > >
> > > Thanks
> > >
> > > scott.
> > >
> > >
> > >
> > > --
> > > PHP General Mailing List (http://www.php.net/)
> > > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> > > For additional commands, e-mail: php-general-help@lists.php.net
> > > To contact the list administrators, e-mail:
php-list-admin@lists.php.net
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> > For additional commands, e-mail: php-general-help@lists.php.net
> > To contact the list administrators, e-mail: php-list-admin@lists.php.net
> /*****************************\
> * Joe Stump *
> * www.Care2.com *
> * Office: 650.328.0198 *
> * Extension: 122 *
> \*****************************/
> http://www.miester.org/Joe/Stump/Joe_Stump_resume.html
>
> -----BEGIN GEEK CODE BLOCK-----
> Version: 3.12
> GB/E/IT d- s++:++ a? C++++ UL++$ P+ L+++$ E----! W+++$
> N+@ o? K? w---! O-@ M+@ V-! P(++) PE(+) Y+@ PGP+++@ t+@
> 5? R-! tv@ b+ DI++@ D(++++) G++@ e+@ h@ r+! z(+++++**)!
> ------END GEEK CODE BLOCK------
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>