Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Kill or Destroy Session Var

Status
Not open for further replies.

enzobanzai

Technical User
Jun 24, 2004
16
AU
Hi

In ASP VB does anybody know how to kill or destroy a session var once a page loads?

I have a shopping cart and I want to destroy the session orderID after the user places an order.

Cheers
Dave
 
after the script that places the order you do a

session.("orderid")=
 
Hey Steven

So I have Checkout_1.asp that saves the order to the database and sends the users to Checout_2.asp.

Does this go on Checkout_2.asp?

Where on the page do I place session.("orderid")=""

Thanks Steve
Dave
 
Cool

I have been doing this for the past few minutes :)

With the pressures of deadlines that clients and bosses place on you its good for me to quickly check these forums.

Cheers all
Dave
 
It's just as quick (or quicker) to type in the phrase at Google, scan a few entries, and pick one that has some relevant info in the preview.

Lee
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top