Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Global.asa - Session_OnEnd
Message
From
04/02/2004 20:09:51
 
 
To
All
General information
Forum:
Visual Basic
Category:
VBScript
Title:
Global.asa - Session_OnEnd
Miscellaneous
Thread ID:
00874268
Message ID:
00874268
Views:
56
Hi All,

I'm working on a project where a users shopping cart details are stored in a session array called Session("ShopCart").

The shopping cart allows the item to be in only one users cart at a time. I'm using a application array called Application("CartItems") to do this.

When a Item ID is added to a users Shopping cart, Session("ShopCart"), I also add the item ID to the application, Application("CartItems").

If the item ID is contained within Application("CartItems"), I don't display the item in the store front.

This all seems to be working fine.

However, I would like/require, So When the users session ends. The items within Session("ShopCart") are removed from Application("CartItems").

In the global.asa file within "Sub Session_OnEnd", I have tried Server.Execute("pagetodothis.asp?cart=" & Session("ShopCart") & ""), storing the Session("ShopCart") details withing the QueryString.

I have also tried using Server.Transfer("pagetodothis.asp?cart=" & Session("ShopCart") & ""). None of these have work.

Does anybody know away to do this?

Any help is greatly appreciated.

Kind Regards,
Tarran Walker
Reply
Map
View

Click here to load this message in the networking platform