Capture Information IN a Text Box for later use

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am developing a dseries of web pages. I have a name entered in a text box
on one of the pages which I need to be able to capture for use on another
page without going back to the original page. Is there a way I can capture
the contents of a text box in a class for later use?

Thanks,

Dave
 
You can use session to store values which can be accessed at any time
by any page from the website:

e.g. (C#)

Session["MyValue"] = TextBox1.Text;

and to get it back

string myValue = Session["MyValue"].ToString()
Regards,

Peter Chadwick (MCP)
(e-mail address removed)
 
Back
Top