Well that was condescending, useless and less than technically correct, all
at the same time -- looks like Evertjan gets a hat-trick, wtg.
There is of course a property of the Request object called Form, and IIRC it
provides server-side access to a collection of name/value pairs, that
correspond directly with elements of the posted form. So it would seem the
actual case is that ASP *does* know about forms, the fields they contain and
the values of those fields... imagine that!
Anyway, back to the OP's question, your session variables reside on the
server, so only code running on the server can clear them. This must
somehow involve a round-trip to the server (that would not ordinarily be
needed just to reset a form.) Maybe you could set a flag in a hidden input
when the form is reset, and use it to invoke a branch that clears your
session items the next time the form is posted? There are probably
thousands of ways it might be done, but the gist is, you must communicate
the need to clear the session data to server-side code, such as an ASP
script.
-Mark
"Evertjan." <ex**************@interxnl.net> wrote in message
news:Xn********************@194.109.133.242...
Kermit Piper wrote on 18 mrt 2006 in
microsoft.public.inetserver.asp.general:
Thank you Evertjan! I'll give it a try. How about clearing the form
field values, any ideas on that?
This is usenet, not email.
Please quote where you are responding on.
"form field values" are a clientside concept,
where ASP does not know about.
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)