Closed Bug 81913 Opened 23 years ago Closed 23 years ago

view frame source initiates new request

Categories

(Core :: Web Painting, defect)

x86
Linux
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 55583

People

(Reporter: sushil, Assigned: kmcclusk)

Details

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.16-22 i686; en-US; rv:0.9) Gecko/20010507
BuildID:    2001050716

I was trying to view the source of a frame and the source I kept getting was not
the page I was viewing.  Then I noticed that in fact when I asked for the
source, the browser was sending a request back to the server, which then was
serving up a different page, since the request did not contain the needed
parameters.


Reproducible: Always
Steps to Reproduce:
1.Request a web page from a server where you can see the request/access log,
like in a basic Apache setup.
2.  Note the time of your request.
3.  Wait a couple of seconds, then right-click on the page and select "view Source".
4.  recheck the log and note the new request w/ a later time.

Specifically, I was trying to look at the results of a search query, but since
the new request did not contain the search string, the server would send a page
back asking for the search string. 

I'm developing stateful session based applications in Java using servlets.  This
is pretty serious because in my pages I use several hidden form fields to
maintain the sequence of operations, and if these change or contain incorrect
values, then the session is reset. So if a user was in the middle of making a
purchase and had already entered address info, then on the credit-card page did
a "View Source", he'd be reset back to the initial page.  

Whatever, it shouldn't make a new request, right?

*** This bug has been marked as a duplicate of 55583 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
v
Status: RESOLVED → VERIFIED
Component: Layout: View Rendering → Layout: Web Painting
You need to log in before you can comment on or make changes to this bug.