I am developing a web app in vs 2010.
instead of using a button to logout from the webapp doing like this:
protected void btn_logout_Click(object sender, EventArgs e)
Session["User"] = null;
I want to use only a simple text and hyperlink but i dont know how to redirect to the Index_page form by clicking this text and making session["User"]=null.
What to do in this case?
Change your code like
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)