Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
how does browser know an old request was a POST?
Old 09-08-2007, 04:48 PM how does browser know an old request was a POST?
Novice Talker

Posts: 9
Trades: 0
I'm browsing, I fill in a form and submit: a POST request. The server processes my data, then sends me a 302 response. My browser does a GET request for the page it has been redirected to.

I browse on for 20 minutes. Then I hit the Back button lots of times, eventually ending up back at the page I was redirected to after the POST request.

I hit CTL->F5 to refresh the page. The browser knows the original request was a POST, and still has the POST data.

This tells me that a refresh doesn't simply request the URL it finds in its address bar.

How does the browser "know" the request was a POST, and where has the POST data been sitting around in the meantime? In RAM?
geekpie is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 09-08-2007, 05:57 PM Re: how does browser know an old request was a POST?
joder's Avatar
Flipotron

Posts: 6,442
Name: James
Location: In the ocean.
Trades: 0
A cookie or a session variable.
joder is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to how does browser know an old request was a POST?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.47144 seconds with 12 queries