Eltial
August 22nd, 2005, 09:48 PM
Hi Guys,
I havea single page web app, with a LOT of controls on it. I need to reset it, and have stumbled upon the idea of killing the session (so the server doesnt recognise the computer) and then refreshing the page. Is this possible? The reset method that I am using is
'Reset Procedures
Private Sub ResetForm()
Session.Abandon()
Me.ResetForm() <-- by the way, I know this loops... I am trying to say re- request form
End Sub
But i figure that Me.Resetform wont actually request the page, or maybe the session doesnt store the current page state including all values of textboxes and labels in asp... is there any way to reset the form with this little code?
Thanks.
I havea single page web app, with a LOT of controls on it. I need to reset it, and have stumbled upon the idea of killing the session (so the server doesnt recognise the computer) and then refreshing the page. Is this possible? The reset method that I am using is
'Reset Procedures
Private Sub ResetForm()
Session.Abandon()
Me.ResetForm() <-- by the way, I know this loops... I am trying to say re- request form
End Sub
But i figure that Me.Resetform wont actually request the page, or maybe the session doesnt store the current page state including all values of textboxes and labels in asp... is there any way to reset the form with this little code?
Thanks.