Hi all,
Sorry, I have put some html code for the user control but it is not displayed properly, so i am submitting again.
I have a typical problem regarding fragment caching.
I have a user control that displays currently logged in user's data. I have put that user control on every page of asp.net application. I want the control to be cache so that the page takes less time to process.
There is one button "Log out" in that user control, onclicking of that button user is redirected to login page.
Now what happens when i click the logout button of the user control from any page,
the whole page is cached and is displayed again instead of redirecting to the login page.
The code for the user control is in the text file attached with this message.
can anybody help me to solve the problem. I can't understand why this is happening.?
It should say something like Response.Redirect("logout.aspx")
What you listed only shows the html code.
Also, if it does say that, note that the output cache is going to keep the same page in cache for 120 secs(or is that minutes...i cant remember). What this means is that since the page is cache, it will not respond. Try taking out the Cache and see what happens.
HTH,
Greg
Last edited by gknierim; April 7th, 2003 at 08:43 PM.
* The Best Reasons to Target Windows 8
Learn some of the best reasons why you should seriously consider bringing your Android mobile development expertise to bear on the Windows 8 platform.