Closed Bug 288616 Opened 20 years ago Closed 19 years ago

jsessionid in url make duplicate requests to the server

Categories

(Core :: Layout: Images, Video, and HTML Frames, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: yoursoft, Assigned: jdunn)

References

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; hu-HU; rv:1.7.2) Gecko/20040803
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; hu-HU; rv:1.7.6 and 1.7.5) Gecko/20050319

I'm programing in java. When I use e.g.
response.encodeUrl("Menu?lang=hu&code=myvc") this will result eg.:
"Menu;jsessionid=842278F53946A2B84BB052A866E088C9?lang=hu&code=myvc"
In html e.g: <a
href="Menu;jsessionid=842278F53946A2B84BB052A866E088C9?lang=hu&code=myvc">menu</a>

When I click on this link, in result will be 2 get; or if the link in form
action and method is post 2 get, and 1 post etc.

Reproducible: Always



Expected Results:  
Only one call / click to the server.

This is not urgent problem, in my company my users use IE6, and IE6 works normal.
*** Bug 288629 has been marked as a duplicate of this bug. ***
ok... this looks like the same as bug 288624, which you marked invalid?
There is I think no problem with jsessionid.
There is a problem with duplicate request to the server.
Mozilla sends 2 requests to the server on sometimes:
1. accept =
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
2. accept = image/png,*/*;q=0.5

The first request make a session invalidate, and the second is make an error
without session.

Any idea why send Mozilla 2 requests?
Ok, I found the source of the problem.
Our html designer puted the following line into the html pages:
<TD bgColor=#000000 colSpan=3><IMG height=1 src="" width=650></TD>

In this case on the screen every thing is ok (an 1 pixel height black line).
But Mozilla sends a request for an image to the server with the servlet name.
I don't know it is a bug or not, please change the state what you want.
IE works normaly with the same page.
I verified comment 4 on my local webserver.

==> images
Assignee: general → jdunn
Component: General → Layout: Images
OS: Windows XP → All
Product: Mozilla Application Suite → Core
QA Contact: general → layout.images
Version: unspecified → Trunk
empty relative urls as in <img src=""> refer to the page that contains that
<img>. not a bug.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → INVALID
Product: Core → Core Graveyard
Product: Core Graveyard → Core
You need to log in before you can comment on or make changes to this bug.