Is this the correct way?
| From: | Jan van Schaijk | Date: | Wed, 01 Nov 2000 07:43:25 +0000 |
| Subject: | Is this the correct way? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-23339@lists.php.net to get a copy of this message | ||
Hi,
sorry, but I think it's still difficult for me:
I have one php-page which is index.php . In this file I have three
pulldown-menus with variable Language, Phone and Sort. When the user enters
my page for the first time, I want to save his selection in a cookie. So:
- How can I store them in a Cookie when the user sets the menu's? The page
refreshes to index.php again.
Then I want to register the variables in a session, so that I can use them
in my page without the long URL. If the variables are changed in the
session, I want to save them again as cookies (the same).
- How can I do that?
Well, thanks in advance!
Jan