Session Variable

  • Thread starter Thread starter Michel Lapointe
  • Start date Start date
M

Michel Lapointe

Hello,

Does anyone know if it is possible to set a session variable when a user
click on a HyperLink?

Thank

ML
 
Have the page post back, set the session variable and either
Server.Transfer or Response.Redirect
 
Do you have an example page that show the principle?

Is it possible to do it without involving forms?

Thank

ML
 
Now I'm home and cannot see VS.Net, therefore I write what I remember, and
hope I don't tell you wrong things.
You should use the LinkButton whick looks similar to the HyperLink, and in
the Click event you can set the session variable and then link with:

Page.Response.Redirect("target.aspx");
 
Back
Top