Re: hidden fields?



if your page responds with a redirect, you are sending back to the browser
the url to redirect to. your hidden field are of no use, as the browser will
not include them in the redirected request.

-- bruce (sqlwork.com)


"HockeyFan" <HockeyFan@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:7017D226-531D-418F-8A49-262D5DA20A1C@xxxxxxxxxxxxxxxx
I know that <input type="hidden" fields are used within a form, but do
<ASP:HiddenField s have to be in a form to be used?
I've got a VB-based (codebehind) that catches the click event of a button
on
the page, does some processing, populates the <ASP: hidden fields, and
then I
need to redirect to another page, where I want access to these fields.
I suspect that these have to be inside a form, but figured I should ask.

I'd use a Cache or cookies, but this is sensitive information (not
sensitive
from the user, but sensitive otherwise) and I'm not
sure that cookies will be available in all cases. I figure I can use
HiddenFields unless there's a better way


.