Get ready for BLACK FRIDAY shopping starting in

Forums

This topic is locked

Session Variables question

Posted 23 Oct 2001 01:56:23
1
has voted
23 Oct 2001 01:56:23 Alex Xander posted:
anyone know how can i delete a session variable when i click a submit button??



Replies

Replied 02 Jan 2002 21:07:29
02 Jan 2002 21:07:29 Tolu Ayoola replied:
do it by placing this code at the top of the page the form is submitted to

Session.Abandon

that should do it

The initial fright of failure is the beginning of failure itself -Tolu
Replied 17 Jun 2002 17:49:33
17 Jun 2002 17:49:33 Wil Turrin replied:
Another way of doing it is placing the code:

Session("session1name"=""

Not as elegant, but it resets the value of the one session variable to nothing, wihtout removing all the rest

Reply to this topic