Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > Web Page Has Expired View modes: 
User avatar
Member
Member
johnny-segment - 4/4/2011 6:24:35 AM
   
Web Page Has Expired
Within the Kentico environment, we have a search results page. This page has numerous filters that the user can adjust to drill down into the results further.

The issue we're having is that when a user clicks to view a results, and clicks 'Back' in their browser - they're getting the 'Web Page Has Expired / Form resubmission' message (depending on browser).

Usually in a non-Kentico website we'd adjust the caching on the page (Context.Response.Cache.SetCacheability etc), and that would clear up the problem, but that doesn't seem to be working in this instance.

Is there a common work-around or setting in Kentico we can add to address this?

Many thanks!

User avatar
Member
Member
johnny-segment - 4/7/2011 5:27:56 AM
   
RE:Web Page Has Expired
Hey guys,

Can anyone help with this?

Scenario:

A page has a gridview showing results of a search. There are a number of checkbox filters on the page which post-back, re-query, and bind results with the gridview. This is all handled via post-back events (not via querystring parameters etc).

A user clicks on a result to view the detail page, then clicks back to get back to the results page. They get a 'Web Page Has Expired / Form resubmission' message (depending on browser).

All the common fixes for this (changing caching etc) do not work within Kentico it seems.

Is there a work around for this?

Many thanks!

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 4/8/2011 10:27:07 AM
   
RE:Web Page Has Expired
Hi,

this is a common ASP.Net behavior. I did some research on Google and found this, I think it might help you - http://forums.asp.net/t/1664698.aspx/1?Refresh+causes+To+display+the+webpage+again+the+web+browser+needs+to+resend+the+information+.

Best regards,
Juraj Ondrus