Ask a Question related to ASP.NET General, Design and Development.
-
Mike #1
Prevent 'Page has expired' when a client hits back to return to a search page
I have a search page that I want to enable private caching so that when a
user hits the back button they dont get the page has expired error.
I have seen this done on:
[url]http://www.asp.net/Forums/Search/default.aspx?tabindex=1[/url]
Downloaded the source and tried to find out how they did it to no avail, any
ideas?
Thanks,
Mike
Mike Guest
-
Page Has Expired Message in between the php Page When I click Back in Explorer Menu
Could anyone please help me on this?? I have a php script page, which is basically quiz. Visitors (after login in with their email address) are... -
to prevent client side web page caching
Hi, I wish to avoid caching asp pages at the user end . Currently I have declared Response.Expires=0 at the top of my asp page. I have also used... -
Page has Expired, BACK-button -problem
Hi! I have Windows XP&IE6.0.2... (SP1). I'm coding one project with PHP. I get "Warning: Page has Expired" when I try to get back to the "POSTed... -
after logout, how to retrieve an expired page if user click 'back' button?
hi everyone, i've made a login and logout page, after user have logout, i want to retrieve an expired page if user click the 'back' button to... -
Warning Page Has Expired, I need to turn it OFF for a simple search page
You can't turn it off. If you understand the reason for it, then you know that the Back button or Refresh button of a browser makes a new request... -
S. Justin Gengo #2
Re: Prevent 'Page has expired' when a client hits back to return to a search page
Mike,
You'll love my answer...
My site's search has the behaviour you describe. Try it out at
[url]www.aboutfortunate.com[/url]
Now, I'm not positive why...
Here's what I'm doing. I really only have one single page. I'm dynamically
loading user controls into placeholders based on button clicks and I'm
overriding the OnBubbleEvent within my default page to get those button
clicks from my user controls. This method seems to create the behaviour you
wish.
I have a sample of the code I'm using on the web site itself so when you
try the search you might want to search for something like: Using
placeholders
The title you should look for is: Reload dynamically created user controls
in order to use their viewstate.
If you have any questions about this technique feel free to email me.
(Anyone)
--
S. Justin Gengo, MCP
Web Developer
Free code library at:
[url]www.aboutfortunate.com[/url]
"Out of chaos comes order."
Nietzche
"Mike" <mikenospam@com.nospam> wrote in message
news:uOfqZvbXDHA.2484@TK2MSFTNGP09.phx.gbl...any> I have a search page that I want to enable private caching so that when a
> user hits the back button they dont get the page has expired error.
> I have seen this done on:
>
> [url]http://www.asp.net/Forums/Search/default.aspx?tabindex=1[/url]
>
> Downloaded the source and tried to find out how they did it to no avail,> ideas?
>
> Thanks,
>
> Mike
>
>
S. Justin Gengo Guest



Reply With Quote

