post-redirect-get Questions
1
Solved
Please correct me if I'm wrong, but I'm thinking of all of my non-AJAX submits should use the Post/Redirect/Get (PRG) way, since GET should be used to refresh/query data, and in my case, the applic...
Dennet asked 24/3, 2011 at 7:34
2
Solved
I have a form which submits user first and last name using POST signin.html
@RequestMapping(value="/signin.html",method = RequestMethod.POST)
public ModelAndView submit(@Valid User user){
Model...
Peccant asked 8/3, 2011 at 12:59
3
Solved
I've implemented my Service Provider and Identify Provider following the SAML Profile for Web SSO using HTTP POST Protocol Binding. However, I am a bit confused as to how the Identity Provider will...
Henriettahenriette asked 3/2, 2011 at 9:15
3
I have a page that loads a lot of images, css and javascript. I've added a far future Expires header and set Cache-Control to public on these external dependencies so they should be cached. But eve...
Alitaalitha asked 9/6, 2010 at 9:50
2
Solved
I am using the post-redirect-get pattern for all my forms, but now need to add AJAX functionality to improve the user experience. My initial thoughts are that the two do not mix.
In the PRG scenar...
Erst asked 31/7, 2010 at 15:44
3
Solved
I have form with file upload. The files to be uploaded actually are pictures and videos, so they can be quite big. I have logic which based on headers and first 1KB can determine if the rest will b...
Intimacy asked 28/5, 2010 at 14:39
6
Solved
I’m using the PRG pattern to avoid multiple form submission. It has, however, a serious drawback — you cannot simply echo the confirmation message to the user (obviously, the user won’t see the pag...
Cruiser asked 29/6, 2009 at 14:2
2
Solved
What is the best practice for implementing the Post/Redirect/Get pattern in ASP.NET MVC? In particular, what is the best way to do this when you want to redirect back to the initial action/controll...
Isomerous asked 22/1, 2010 at 22:4
2
Solved
I have various simple ASP.NET MVC views for CRUD operations which work fine on their own as a simple webpage. I will now integrate them into the website itself (into the content) and have for insta...
Exploit asked 3/12, 2009 at 23:41
2
Solved
So I understand the basics of the prg pattern. But I haven't come across a technique for making arbitrary data available to the "get" instance of a page.
For example, I might want to display diffe...
Taco asked 28/5, 2009 at 6:51
2
Doing a refresh after certain action in asp.net seems to make them happen again even when that action doesn't make sense (think double delete). The web way to deal with this situation is to redirec...
Rafferty asked 1/12, 2008 at 16:7
© 2022 - 2024 — McMap. All rights reserved.