hay.
I’m having a very strange issue regarding cookies and sessions
Basically i have a shopping cart script which creates a cookie for each visitor which is then used
to store their shopping cart stuff via a text file on the server.
when adding an item to cart the data is saved and displayed fine but the issue is when they click the view cart link
here is the add to cart link:
http://rockinglocks.com/new/dreadlock_products/residue_free_dreadlock_shampoo.html
when you have clicked the add to cart button, follow up by goin to view cart
http://www.rockinglocks.com/new/viewcart.php
now all i see is 0! nothing in the cart.
now heres where it gets strange lol… this next page is exaclty the same as the other page
except for the page name:
http://rockinglocks.com/new/test.php
this one does as it viewcart.php should do displaying the correct cart details
if i rename the test.php file to viewcart.php on the server to does as the other viewcart.php page did…nothing
can anyone help me out with this… does ot not like the file name lol??
i have also tried this with sessions and i get the same problem
cheers