Re: Re: setcookie()
| From: | Tyler Longren | Date: | Sun, 06 Jan 2002 21:01:47 +0000 |
| Subject: | Re: Re: setcookie() | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-79637@lists.php.net to get a copy of this message | ||
I have checked the manual. A few times actually.
I have setcookie("usename", "$username");
Will that cookie never expire? Or will it expire at the end of the browsing
session? I couldn't find any details on that in the manual.
Tyler
----- Original Message -----
From: "George Nicolae" <geomasterweb@hotmail.com>
To: <php-general@lists.php.net>
Sent: Sunday, January 06, 2002 2:03 PM
Subject: [PHP] Re: setcookie()
> man first of all look in the manual. there it is very clear...
>
> http://www.php.net/manual/en/function.setcookie.php
>
> --
>
>
> Best regards,
> George Nicolae
> IT Manager
> ___________________
> X-Playin - Professional Web Design
> www.x-playin.f2s.com
>
>
>
> "Tyler Longren" <tyler@captainjack.com> wrote in message
> news:000901c196e7$71df35b0$0101a8c0@nightengale...
> > Hello,
> >
> > I need to set a cookie to store a username, password, and passcode
forever
> > (never expires). I don't really know how to use the setcookie()
function.
> > Could someone show me the proper way to use the setcookie() function to
do
> > this?
> >
> > Thanks,
> > Tyler
> >
>
>
>
> --
> 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
>
>