Sessions
-
Can anybody describe the whole coding to creating a new session and sending values on next page by using sessions
This link can help u... http://asp-net-example.blogspot.in/2009/01/aspnet-session-example-how-to-use.html[^]
-
Can anybody describe the whole coding to creating a new session and sending values on next page by using sessions
Just write session["id"]="1234"; For Retrieving on any page TextBox1.Text=(string)session["id"]; Casting depends upon type of variable you are using
-
Can anybody describe the whole coding to creating a new session and sending values on next page by using sessions
-
Can anybody describe the whole coding to creating a new session and sending values on next page by using sessions
http://msdn.microsoft.com/en-us/library/ms178581(v=vs.100).aspx[^]
Vasudevan Deepak Kumar Personal Homepage
Tech Gossips
The woods are lovely, dark and deep, But I have promises to keep, And miles to go before I sleep, And miles to go before I sleep! -
Can anybody describe the whole coding to creating a new session and sending values on next page by using sessions
Hi..Hope it helps u
String Mymsg = String.Format("110", authCode, DateTime.Now.ToString(), txtFirstName.Text + " " + txtLastName.Text, txtPayment.Text);
Session["Successmsg"] = Mymsg;
Response.Redirect("Thank.aspx");In Thank.aspx.cs page:
Label2.Text = (String)(Session["Successmsg"]);
Session.Abandon();
Session.Clear();