Back Button & PageFlow

Topics: Web Client Software Factory, Project Management Forum, UIP Application Block discussion, User Forum
Feb 26, 2007 at 2:49 PM
I'm trying to manage the use of the back button of the browser.
My problem is that I can't be able to do this, because the PageFlow's current page don't change.
I used the following PageFlow's properties : "Abandonable" & "Constrained" , but it dont seem to change anything.

After struggling with this for a week any help is greatly appreciated.

Michael
Feb 27, 2007 at 1:27 PM
From docs:

In the Page Flow Application Block, the effect of the back button depends on whether the page flow is constrained:

If the page flow is constrained (has the Constrained property set to true), the application block prevents users from using the back button to navigate to the previous page. Similarly, the application block prevents the user from navigating by entering a URL for a page that is not within the current page flow definition.
If the page flow is unconstrained (has the Constrained property set to false), users can use the back button to navigate to the previous page and they can randomly navigate to other views in the page flow.

Thanks
Matias
http://staff.southworks.net/blogs/matiaswoloski
Mar 2, 2007 at 9:27 AM
My page flows are both 'constrained' and 'prevent abandonable', but still the back button works...
I do have my own HttpModule, but I included the ProcessRequest as found in Microsoft.Practices.PageFlow.PageFlowHttpModule.
Am I still missing something here ?
Mar 3, 2007 at 2:09 AM

mliesmons wrote:
My page flows are both 'constrained' and 'prevent abandonable', but still the back button works...


What is the behavior that you expect to get?


do have my own HttpModule, but I included the ProcessRequest as found in Microsoft.Practices.PageFlow.PageFlowHttpModule


What do you mean? Did you added the http module to the Web.config or you copied the code in your http module?