
Ivo
|
| Posted: 05/22/2003, 4:14 AM |
|
In the page properties of my index.php page I have a open event:
set_session("guestsession", date("Y-m-d G:i:s"));
The script works good, when you go to the index.php you get the session, I can use it on al the other pages of my website.
But the problem is when the visitor turns back to the index.php page. Then he gets a new session. How can I solve this problem?
Thanks for helping!
Ivo
|
|
|
 |
Henrik
|
| Posted: 05/22/2003, 10:15 AM |
|
Change the code to
if (get_session("guestsession")=="") set_session("guestsession", date("Y-m-d G:i:s"));
|
|
|
 |
|

|