MiniVend Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: Expire session after successful checkout



******    message to minivend-users from Thomas Walter <tw@mail.itreff.de>     ******

> "Brian T. Allen" wrote:
> 
> Hi Everyone,
>     What I would like to do is expire a persons session after they
> have checked out. I don't use the Login feature, so someones
> information isn't stored in the system anywhere, except the session.

Perhaps I understood something wrong, but isn&#180;t this the purpose of the
cancel-action.
The doc says (on the Form-Actions-page):

cancel
       All user information (with the exception of the frames and secure
       variable settings) is erased, and the shopping cart is emptied.
The user
       is then mv_nextpage or mv_orderpage. 

There is an example in the simple demo where you can stop shopping and
choose between deleting the basket-content and deleting all user
information.

So, you just have to place a button on the receipt-page (or on whatever
page you display after checkout). If the user clicks on this button all
his data is deleted.

>     What I want to avoid is someone buying something from my site
> using a computer at a library or cyber-cafe, then have someone else
> come in and use the same machine, go to the site, and have the last
> persons information still in there.
>     One option may be a command at the end of the reciept page that
> clears the session, but is that too soon and will that cause problems?

Hm - this will not prevent the use of the back-button of the browser,
will it?


     Balu
-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: