Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
Thread: Initalising a Session
11-05-2003, 02:45 AM #1
- Join Date
- Jul 2002
- New Zealand
- Thanked 0 Times in 0 Posts
Initalising a Session
I have encountered an odd problem relating to sessions on my site.
If I load up a product page from a shortcut and click "Add to Cart" the product does not get added to the cart (as a session variable) - it say's the cart is still empty. If I go back and try again it will now work. Also, if I view one page (any page) before viewing the product page and then click "Add to Cart" it is recorded fine.
It appears that my session is only being activated after one page refresh - not on the initially loaded page. Is there a server setting or some thing that I could have overlooked to cause this or is it more likely that my cart adding code is wrong?
ThankseTheory - the theory of revolution