• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How should a programmer deal with bookmarking?

 
Suresh Ramanan
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

Greetings.
"GET requests can only be bookmarked",
does this mean that POST requests cannot be bookmarked or is it simply useless as they do not have any query string params in the URL as do GET requests?

How does a browser deal with bookmarking POST requests?
Is there any mechanism by which a POST request bookmark is redirected to a GET or stopped from being bookmarked?
Or is this an overhead which the programmer should fix?
Is there a security concern in bookmarking a GET or POST request?

I hope i have not confused by asking too many questions. I just thought i'd ask 'em all together as they were related.

Best wishes,
Suresh Ramanan
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65218
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The best way is to follow the PRG pattern so that the user is never presented with a POST request that he can try to bookmark.

See this article for details.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic