HTML
<SPAN class="Hyperlink"><A id="CP" runat="server">Client List</A></SPAN>
Code
CP.HRef = "Index.aspx?Page=ClientList"
Now the thing I want to do is when I click it I want to clear all my session variables. Is there any suggestionsWhy not create a linkbutton and in the code behind, have it clear the sessions,
then redirect to the page you want?
Zath
yes use the linkbutton and put this code to clear the sessions:
Session.Clear();
Response.Redirect("myotherpage.aspx");
No comments:
Post a Comment