Re: Session-Id or Cookie or...
| From: | Ben-Nes Michael | Date: | Wed, 26 Jul 2000 12:09:22 +0000 |
| Subject: | Re: Session-Id or Cookie or... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-8277@lists.php.net to get a copy of this message | ||
check the manual for the settings of time and duration ....
Use cookie to identify returning user
Use session to follow user from one page to another
for the second mail:
You can pass the session variable through the url (check manual)
You wont be able to recognize returning user without cookie unless he will
log on.
Martin Thoma wrote:
> Hello !
>
> I want to write a (yet another) free email-card-sending-system.
> Therefore, I have to identify the user while he is inputting the
> parameters of one card on several pages.
>
> It would also be nice that the user would find the card he was working
> on let's say 14 days after he startet to create it.
>
> My question is: What's the best to do it ?
>
> Using a cookie to identify a file on my web-server, where all the
> variables of the card are stored ?
>
> Using a session-id (since I'm new on PHP, I don't know so much about it
> yet). Where are the session-variables stored INTERNALLY ? How can I set
> a "livetime" of x days ?
>
> Using something else ?
>
> Regards
>
> Martin
>
> --
> 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
--
--------------------------
Canaan Surfing Ltd.
Internet Service Providers
Ben-Nes Michael - Manager
Tel: 972-6-6925757
Fax: 972-6-6925858
http://www.canaan.co.il
--------------------------