Hi Hai,

I've also used posonlinestore as a basis for an application.

I also added a "remove" option and used "del session.cart[id]" to remove an 
item from the cart (it looks like you're using "order" instead of "cart".

I used "session.cart.clear()" to empty the cart after I processed the order 
and inserted the cart items into the database.

Mike

On Monday, February 11, 2013 8:30:49 AM UTC-5, 黄祥 wrote:
>
> hai,
>
> is there a way to clear data session?
> i've tried session.clear() it seems not work
> any help is greatly appreciate.
>
> many thanks in advance
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to