- Joined
- Jul 8, 2005
- Messages
- 17,131
- Likes received
- 4,950
- Thanks received
- 1,184
- Location
- xoggoth towers
Doing a new PHP shopping cart, 1st page accessed sets up a customer MySQL record based on session variable, which is then accessed by the shopping cart when they go to that.
All working fine using a temporary index page called indexx.php, but as soon as I change the name to index.php it seems to be getting a different session variable on going to the shopping cart. If I rename the file to ANYTHING at all but index it's ok!
Not quite sure what's going on at mo' but can't for the life of me why just a name change would make a difference. Is there some reason you can't use sessions on an index page?
cheers
All working fine using a temporary index page called indexx.php, but as soon as I change the name to index.php it seems to be getting a different session variable on going to the shopping cart. If I rename the file to ANYTHING at all but index it's ok!
Not quite sure what's going on at mo' but can't for the life of me why just a name change would make a difference. Is there some reason you can't use sessions on an index page?
cheers
Last edited:
13:07