• Post Reply Bookmark Topic Watch Topic
  • New Topic

IE back button  RSS feed

 
ranjan Khaba
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have two application based on JSF Say A and B. I am moving from one page of application A to another page of Application B. while
i perform a history.back operation from application B to A to go back on the previous page of Application A it gives a warning message "web page has expired". Browser back button also does not let me go back to the previous page of application A.

Can anybody give some suggestion for handling such scenerio?

Thanks in advance

Ranjan
 
Bauke Scholtz
Ranch Hand
Posts: 2458
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This will occur when the navigation happend through POST request and the previous page has response caching disabled (i.e. is not available anywhere in the browser cache).

So solutions are in theory:
1) Use GET instead of POST.
2) Enable response caching.
3) Implement PRG pattern (POST-Redirect-GET) by adding <redirect/> to navigation case.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!