here is a simple example of persistence in asp
this form is posting back to the same page
<FORM action="persistenceInForm.asp" method=POST id=form1 name=form1>
<INPUT type="text" id=text1 name=text1 value="<%=Request.Form("text1")%>">
<INPUT type="submit" value="Submit" id=submit1 name=submit1>
</FORM>
But if you plan to leave the page and return, you an use a session variable
you would need to first put a like of code something like this in the page
your are posting the form to
Session("text1") = Request.Form("text1")
then when hey return to the form you use the session variable set the value
of the textbox
<FORM action="persistenceInForm.asp" method=POST id=form1 name=form1>
<INPUT type="text" id=text1 name=text1 value="<%=Session("text1")%>">
<INPUT type="submit" value="Submit" id=submit1 name=submit1>
</FORM>
[quoted text, click to view] "DCSTech" <DCSTech@discussions.microsoft.com> wrote in message
news:CE9E9DCA-8A60-453B-AE8E-ED5E47BD108E@microsoft.com...
> On my webpage I have a textbox. I would like to be able to change the
> text
> in the textbox and via a pushbutton have the value in the textbox written
> to
> the .text property so that next time the page is viewed the new value will
> be
> displayed.
>
> Thanks for any help