tommyboyau
Programmer
Hi guys,
This is a simple one i'm sure. I'm very new to the game:
Lets say I want to make a hyperlink to log the user out on the page, what should I have in the .aspx to link to a function in the .aspx.vb file?
In the .aspx.vb file I have a function or procedure which will do the following effectively loggin the user out:
Function logOut()
Session("Logged_IN") = "No"
Session("UserLevel") = 0
Response.Redirect("Login.aspx")
End Function
This is a simple one i'm sure. I'm very new to the game:
Lets say I want to make a hyperlink to log the user out on the page, what should I have in the .aspx to link to a function in the .aspx.vb file?
In the .aspx.vb file I have a function or procedure which will do the following effectively loggin the user out:
Function logOut()
Session("Logged_IN") = "No"
Session("UserLevel") = 0
Response.Redirect("Login.aspx")
End Function