Hey guys and gals,
I am working on a shopping cart and using some code to write it from 2
temp databases to a full end databases (which will then be used via PERL
to send to an archaic order system) but right now I need to come up with
a way to clear their current session ID after finalizing the order and
then dropping them into the new session variable so they can start a new
order.
Is register_globals ON or OFF. If it's OFF, you can just do a simple
$_SESSION = array();
to clear the session. No real need to assign another session id (although you could do that with session_regenerate_id()).
-- ---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
php|architect: The Magazine for PHP Professionals – www.phparch.com
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

