Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Global.asa - Session_OnEnd
Message
De
04/02/2004 19:30:26
 
 
À
Tous
Information générale
Forum:
Internet
Catégorie:
Active Server Page
Titre:
Global.asa - Session_OnEnd
Divers
Thread ID:
00874257
Message ID:
00874257
Vues:
153
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform