wonder_gal
Active member
- Joined
- Jun 5, 2006
- Messages
- 34
- Programming Experience
- 1-3
Hi,
I have an HTML page being framed to 3 parts, such that the topmost frame is a SignOut.aspx page. I would like to know which control shall I opt for in order to allow user to sign out, is it Hyperlink or normal submit button?
For your info, I would like to redirect the user to login page after they have signed out.I need to code this block of codes into the control.
If using Hyperlink, i can just assign the login URL ie. "Login.aspx" here to hyperlink's NavigateURL property easily, and then set its Target property to be "_top" so that the login page will cover up the whole HTML page. But if using a hyperlink, there's no way for me to set this
So which control is better for my case, hyperlink or normal button? Can someone please kindly advice? Your suggestion is very much appreciated. Thanks.
I have an HTML page being framed to 3 parts, such that the topmost frame is a SignOut.aspx page. I would like to know which control shall I opt for in order to allow user to sign out, is it Hyperlink or normal submit button?
For your info, I would like to redirect the user to login page after they have signed out.I need to code this block of codes into the control.
VB.NET:
FormsAuthentication.SignOut()
Response.Redirect("Login.aspx", True)
If using Hyperlink, i can just assign the login URL ie. "Login.aspx" here to hyperlink's NavigateURL property easily, and then set its Target property to be "_top" so that the login page will cover up the whole HTML page. But if using a hyperlink, there's no way for me to set this
VB.NET:
FormsAuthentication.SignOut()
So which control is better for my case, hyperlink or normal button? Can someone please kindly advice? Your suggestion is very much appreciated. Thanks.