Re: sessions vs. cookies?
| From: | Tyler Longren | Date: | Mon, 17 Jun 2002 16:09:23 +0000 |
| Subject: | Re: sessions vs. cookies? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-102533@lists.php.net to get a copy of this message | ||
session_start sets a temp cookie that expires after the session is
closed. cookies can be set for longer periods of time.
--
Tyler Longren
Captain Jack Communications
tyler@captainjack.com
www.captainjack.com
On Mon, 2002-06-17 at 11:05, Lazor, Ed wrote:
> Is there much of a difference between session_start() and just using the
> set_cookie function?
>
> I've always set cookies without using the session_start() functions and I'm
> wondering if I should start using the start_session() function as well. Are
> there benefits to doing so? Is there much overhead?
>
> Thanks,
>
> -Ed
>
>
> ****************************************************************************
> This message is intended for the sole use of the individual and entity to
> whom it is addressed, and may contain information that is privileged,
> confidential and exempt from disclosure under applicable law. If you are
> not the intended addressee, nor authorized to receive for the intended
> addressee, you are hereby notified that you may not use, copy, disclose or
> distribute to anyone the message or any information contained in the
> message. If you have received this message in error, please immediately
> advise the sender by reply email and delete the message. Thank you very
> much.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php