A
Alex
Is there any way to delete the value of a html hidden input field from code-behind? I use an html hidden input to store an array of data. I collect this data using Request.Form or Request.Params. After I use it, I want to force the deletion of it, so a user cannot hit their refresh button on their browser and trigger the same events that just occurred.
I have tried using Request.Params.Remove("HiddenField"), Request.Form.Remove("HiddenField"), Request.Form.Clear(), ect, but all are read-only. I have tried using RegisterHiddenField("HiddenField","") but this is not killing the HiddenField's value. Is it possible to delete this client side control from the server? Are there any crafty javascript commands I am overlooking to accomplish this?
Thanks,
Alex
I have tried using Request.Params.Remove("HiddenField"), Request.Form.Remove("HiddenField"), Request.Form.Clear(), ect, but all are read-only. I have tried using RegisterHiddenField("HiddenField","") but this is not killing the HiddenField's value. Is it possible to delete this client side control from the server? Are there any crafty javascript commands I am overlooking to accomplish this?
Thanks,
Alex