jimy arsenal

jimy arsenal

  • NA
  • 8
  • 3.1k

Session Question ? and problem :/

Jan 29 2012 3:16 PM
Hi , Can i store 2 or more Session ..
When i do a webpage with 2 Session i get errors like :

Object reference not set to an instance of an object...

But when i have 1 session everything works fine..
how can i store more than 2 Session .. im sorry for my bad english..


WEB1
Session["Roli"] = f1txtRoli.Text;
Page.Response.Redirect("Faqja2.aspx");

Session["Emri"] = f1txtEmri.Text;
Page.Response.Redirect("Faqja2.aspx");


WEB2(FAQJA2.aspx)


f2txtRoli.Text = Session["Roli"].ToString();          
f2txtEmri.Text = Session["Emri"].ToString();


Answers (2)