NYCPHP Meetup

NYPHP.org

[nycphp-talk] preventing randomized session variable from changing when page is refreshed

Kristina Anderson ka at kacomputerconsulting.com
Wed Aug 20 15:24:07 EDT 2008


Hi all --

When visitors initially arrive on the site, a randomized session id is 
generated to track items they add to their cart.  The only problem is 
that when/if they return to/refresh the homepage during their visit, 
the session id changes and this will obviously result in unwanted 
issues.

How can I prevent this from happening?  Is index.php the proper place 
to instantiate the session id?  
-------------------
Kristina 



More information about the talk mailing list