Using system;
Using system. Data;
Using system. configuration;
Using system. collections;
Using system. Web;
Using system. Web. Security;
Using system. Web. UI;
Using system. Web. UI. webcontrols;
Using system. Web. UI. webcontrols. webparts;
Using system. Web. UI. htmlcontrols;
Public partial class _ default: system. Web. UI. Page
{
Protected void page_load (Object sender, eventargs E)
{
// Label1.text = request. querystring ["name"];
// Label2.text = request. querystring ["email"];
Try
{
Label1.text = application ["name"]. tostring ();
Label2.text = application ["email"]. tostring ();
Application. Remove ("name ");
Application. Remove ("email ");
}
Catch
{}
}
Protected void button#click (Object sender, eventargs E)
{
Application ["name"] = textbox1.text;
Application ["email"] = textbox2.text;
Response. Redirect (httpcontext. Current. Request. url. pathandquery );
}
}
// ================================================ ======