Session variables/google chrome browser

May 14 2010 2:19 PM
Good Evening masters! I'm currently doing a website that has source.aspx and destination.aspx.pages.. whenever I pressing the button, there is no display in destination.aspx.

*I'm using Google chrome (is it just because of my browser?)
*I'm using C#.
*the button supposedly will trigger source.aspx into destination.aspx..
*my website is a web-based online system
*data from source.aspx are retrieved from textbox

source.aspx.cs 



protected void buttonPass_Click(object sender, EventArgs e)
{

Session["assno"] = TextBox4.Text;
Response.Redirect("Destination.aspx");

Session["jobno"] = TextBox6.Text;
Response.Redirect("
Destination.aspx");

Session["date"] = TextBox8.Text;
Response.Redirect("
Destination.aspx");

}

 
destination.aspx.cs 
 

protected void Page_Load(object sender, EventArgs e)
{

string assno = "";
string jobno = "";
string date = "";

if (Session["assno"] != null)
assno = Session["assno"].ToString();

txtassign.Text = assno;

       if (Session["assno"] != null)
assno = Session["assno"].ToString();

txtassignNo.Text = assno;

       if (Session["jobno"] != null)
jobno = Session["jobno"].ToString();

jobno.Text = jobno;





}


Thank You very much.. :)

Answers (4)