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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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" <[EMAIL PROTECTED]> wrote in message
> 000901c196e7$71df35b0$0101a8c0@nightengale">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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to