I am writing and app. using a session 'shopping cart' and need to have it set up so that when they finish thier order they can go back and start all over again with an empty cart.
I have tried everything to get rid of the session variables with no luck.
session_destroy works fine but - i get this errror:
Warning: Cannot send session cache limiter - headers already sent (output started at /www/...)
(i do have output_buffering=on)
i tried doing session_unregister() on all the variables but they keep their values
i tried unset() on all the variables which is the wierd one - it clears them all out and works fine but once i click on any link to start the ordering again the variable come back.
i would appreciate any help... !