F
francois
I would like to pass information between ASPX pages.
For now, my navigation are hardcoded links.
In some case I do a Response.Redirect("pages.aspx")
Now I wonder is this is a good way to do.
For exemple when I log out of my website, i go back to the logon page but I
would like to write on the logon page something like "you succesfully logged
out".
Doing the following does not work :
Response.Write("Sucessfully Logged out!");
Response.Redirect("Logon.aspx");
(I assume a new Response objet is created when i redirect, right?)
Then should I do something like
Response.Redirect("Logon.aspx?message='Sucessfully Logged out!'");
But this may lead in problems and string encoding (as my websites would use
many languages including chinese and japanese)
Then how is the proper, (state of the art ) way to achieve my goal?
Thanks
Francois
For now, my navigation are hardcoded links.
In some case I do a Response.Redirect("pages.aspx")
Now I wonder is this is a good way to do.
For exemple when I log out of my website, i go back to the logon page but I
would like to write on the logon page something like "you succesfully logged
out".
Doing the following does not work :
Response.Write("Sucessfully Logged out!");
Response.Redirect("Logon.aspx");
(I assume a new Response objet is created when i redirect, right?)
Then should I do something like
Response.Redirect("Logon.aspx?message='Sucessfully Logged out!'");
But this may lead in problems and string encoding (as my websites would use
many languages including chinese and japanese)
Then how is the proper, (state of the art ) way to achieve my goal?
Thanks
Francois