PHP Sessions Issue
Hi all
My website is done in php. I have a session running on the server, and the session_id is used to store unique information in our database about the visitor, ie where they came from, their ip, any products added to the basket etc etc.
I have noticed that when the user first visits the site, the session does not seem to start, and thus on the first page there is no session_id and therefore I cannot store any useful info about their visit.
I used to have a 302 redirect which would solve this issue by refreshing the page and then registering the session (but keeping referer info) - but this stopped google from crawling my site...
..SO... do you know how to get round this issue? Am I doing something wrong?
Many thanks
Darren
PS - excuse the long post, it's late!
__________________
Darren Darkins
|