Re: Sessions, ending and starting new with just a click

From: Date: Wed, 03 Dec 2003 16:53:47 +0000
Subject: Re: Sessions, ending and starting new with just a click
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-171690@lists.php.net to get a copy of this message
> 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. Why do you need to start a new session? Why not record the order to the database with a unique identifier, and then just empty the shopping cart? If they do a new order, you can give it a different id when saving to the db. -- Lowell Allen

« previous php.general (#171690) next »