Forums

PHPSESSION ID Clearing (1 post)

  1. bennyhill
    Member
    Posted 4 months ago #

    I am storing information using php sessions such as items in a shopping cart. Problem is, when I log out, and log in as another user, I can see the other user's items in the shopping cart. At this point the cart should be empty. When I delete the PHPSESSID cookie and refresh browser the items are removed from the cart.

    How would I make sure the cookie or the session is cleared or reset when a user logs out?

Reply

You must log in to post.

About this Topic