[fwd] RE: [thelist] General ASP Question

Shaun Anderson shaunanderson at shaunanderson.info
Mon Nov 26 13:54:47 CST 2001


Hidden form fields can only be sent if the user pushes the submit button.
Mark wanted to do this "without having to use the submit button".

Session variables would work, but what about everybody who has cookies
turned off?  If what you're trying to do isn't of that much value, nobody's
going to turn them on.  They'll just leave.

Six of one, half a dozen of the other.  Totally depends on what you're
doing, and whether you want to spend the extra time to work around it.

One other possibility is to send a query string.  That might get a little
bit trickier though.  Depends how much you want to send from page to page.

They're also kinda ugly imho.

Shaun

<snip>

> WWhy not use a hidden item in the form with the name/value pair the
> information you want to pass?
>
> e.g. <input type=hidden name=Josh value=authorized>
>
> Alternatively, why not use a session variable instead to accomplish the
> same
> thing?

</snip>





More information about the thelist mailing list