something like an SID
| From: | Dennis Gearon | Date: | Tue, 14 Sep 2004 23:33:46 +0000 |
| Subject: | something like an SID | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-196667@lists.php.net to get a copy of this message | ||
I'd like a value to be passed back from every page, if that page was originally passed that value.
The two ways that I can think of it, are:
1/ Javascript with some sort of 'onSubmit()' function which causes a minimal form to be submitted via POST or GET
2/ A hidden form value, and make every action on a page be a button, which submits a form as above.
If no value was received, it would know it was a first access.
NO, I don't think Sessions will do it - I will use this value IN PARALELL to Sessions.
NO, I don't think Cookies will do it, since I want the value to be different for each
browser instance and each 'TAB' in each browser instance.
Someone tell me if I'm on the right track, and point me to a link that shows how to do:
My idea 1,
My idea 2,or your idea?