CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 Need help session variables

Print topic Send  topic

Author Message
Damian Small
Posted: 02/07/2002, 3:19 AM

If I base an activity on a sessionOrder variable say pull items from a warehouse based on the UserID. If the logged in user does not commit to keep those items and generate a new session variable? Then closes the browser without logging out. Then the uncommited items are left in limbo. I can return uncommited items to stock on the OnLogout event and when the user does a return Login. However the user may not return for some time period leaving the warehouse short with uncommited stock figures.
Heres the question. Is there a way to detect a user closing down the browser without doing a proper logout? Would I have to initiate some sort of server script to clean up the items. Any ideas would be most appreciated. ASP Templates

TIA Damian Small
Alex Alexapolsky
Posted: 02/07/2002, 5:09 AM

All I can come up with is to write login time into a database and using
a scheduled script check if sessions have timed out and then run some code.
Damian Small
Posted: 02/07/2002, 2:45 PM

Like a clean up script that runs if the line item has been out of store for say 20 minutes and remains uncommited. Any suggestions on how I could do a server side script.

Regards Damian
cornwell
Posted: 02/07/2002, 6:55 PM

I'd wonder why vary you the stock levels for uncommitted orders.
An uncommitted order by a browsing client is like me window
gazing in the mall, isn't it - there's no transaction anywhere yet?

No storekeeper I know pulls stuff off the shelf just because I looked at it.

Tell me more....
Damian Small
Posted: 02/08/2002, 3:32 AM

The concept is like walking around a store filling a shopping cart and the shopper abandons the cart and leaves the store. The shelves have to restocked with the unpaid for items. A user may close the browser without a logout event and leave uncommitted stock in the virtual shopping cart. I think Ive found a solution by using the global.asa to cleanup.

Regards Damian Small

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.