|
-
Aug 28th, 2006, 11:52 AM
#1
Thread Starter
Lively Member
expire page in asp.net2.0
Hi all,
Can anybody pleased tell me how to let a page expire in asp.net2.0 when the user presses the back button?????
And if he/she press the refresh button he/she will be redirected to the last page that he/she was in????
Please guys
thanx in advance
Regards
jameee
-
Aug 28th, 2006, 11:48 PM
#2
Thread Starter
Lively Member
Re: expire page in asp.net2.0
hi guys,
please no one knows the solution for that
regards,
-
Aug 29th, 2006, 10:40 AM
#3
Re: expire page in asp.net2.0
At the top of your page,
<%@ OutputCache location="none" %>
-
Aug 29th, 2006, 12:50 PM
#4
Thread Starter
Lively Member
Re: expire page in asp.net2.0
Thank you mendhak
What about after refreshing the page??? How to make it redirected to the last page you were in???
Regards,
-
Aug 30th, 2006, 11:16 AM
#5
Re: expire page in asp.net2.0
A refresh is treated as a re-request of the page. Perhaps you should look for an alternate mechanism to accomplish what you want.
What is it you want to accomplish here, give background information.
-
Aug 30th, 2006, 05:32 PM
#6
Thread Starter
Lively Member
Re: expire page in asp.net2.0
Thank you mendhak, , I very much appreciate you.....
okay regarding what i want,,,
lets say that we have two pages; page A and Page B. In page A you select some stuff and press the button that redirect you to page B. From page B you press the Back button and it takes you tp the expired page.
What i want is that while you are on the expired page and you click the refesh button it takes you to page A.
i hope that you got my point dear....
Regards
-
Aug 31st, 2006, 10:06 AM
#7
Re: expire page in asp.net2.0
This is where browser behavior comes into play. A refresh should load up the page once again, so you should get the behavior you want. You have described what you wanted. What is happening right now when you do this?
-
Aug 31st, 2006, 10:29 AM
#8
Thread Starter
Lively Member
Re: expire page in asp.net2.0
it will take me to page A and let me again select the required field and then proceed to page B
-
Sep 1st, 2006, 04:52 AM
#9
Re: expire page in asp.net2.0
Which is what you wanted.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|