Re: How to pass an ID in hidden variable.
From: William Ryan eMVP (dotnetguru_at_comcast.nospam.net)
Date: 04/02/04
- Next message: Bryan G: "Coding a PushButton Event"
- Previous message: Kevin Spencer: "Re: When the connection to the database will be destroyed?"
- In reply to: Frank Rizzo: "How to pass an ID in hidden variable."
- Next in thread: Kevin Spencer: "Re: How to pass an ID in hidden variable."
- Reply: Kevin Spencer: "Re: How to pass an ID in hidden variable."
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 2 Apr 2004 14:50:52 -0500
I'd try to avoid that if at all possible, spoofing hidden fields is a known
hack and I was at DevDays ASP.NET Security discussion and they were
recommended against using Hidden fields for input. I think Session State
should get you what you need and session variables are really easy to use.
Are you familiar with them? If not, I'd really suggest checking them out.
Cheers,
Bill
"Frank Rizzo" <none@none.com> wrote in message
news:e62FrjOGEHA.2612@TK2MSFTNGP09.phx.gbl...
> Ok, this is probably so simple...
> Anyway, I'd like to pass a value in the hidden variable. I have code
> like this:
>
> <form...>
> <input type="Hidden" name="zzz" value="1">
> ...
> </form>
>
> I want to replace the value with another when the page gets generated in
> the code behind file. How do I do such a thing?
>
> Regards
- Next message: Bryan G: "Coding a PushButton Event"
- Previous message: Kevin Spencer: "Re: When the connection to the database will be destroyed?"
- In reply to: Frank Rizzo: "How to pass an ID in hidden variable."
- Next in thread: Kevin Spencer: "Re: How to pass an ID in hidden variable."
- Reply: Kevin Spencer: "Re: How to pass an ID in hidden variable."
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|