Thanks for Mike's reply.
I searched on the Internet, and I got a method, the detail is as follows:
<script language="JavaScript">
document.write(' <object width="320" height="45"
classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95">');
document.write(' <param name="filename"
value="getParts.jsp;jsessionid=B01FF12CBC92F9BA1682E9A883A3A1AD?timestamp=1260252638867&contentid=137063&timemark=20091110&index=4"
/>');
document.write(' <PARAM NAME="AUTOSTART" value="false">');
document.write(' <embed width="320" height="45"
type="application/x-mplayer2"
src="getParts.jsp;jsessionid=B01FF12CBC92F9BA1682E9A883A3A1AD?timestamp=1260252638867&contentid=137063&timemark=20091110&index=4"
AutoStart="0">');
document.write(' </embed>');
document.write(' </object>');
</script>
The most important sentence is
"getParts.jsp;jsessionid=B01FF12CBC92F9BA1682E9A883A3A1AD?timestamp=1260252638867&contentid=137063&timemark=20091110&index=4"
I know the URL like
"getParts.jsp?timestamp=1260252638867&contentid=137063&timemark=20091110&index=4",
this URL is used to pass parameters from one Jsp to another one. And we can
get parameters with sentences like "request.getParameter("timestamp");
request.getParameter("contentid ")".
But I don't know the part
"getParts.jsp;jsessionid=B01FF12CBC92F9BA1682E9A883A3A1AD", is it also used to
pass parameter?
If so, how to get the parameter? Thanks.
-----Original Message-----
From: Looijmans, Mike [mailto:[email protected]]
Sent: 2009年12月7日 16:39
To: Tomcat Users List
Subject: RE: the Tomcat generates more than one session id with the same http
request, please help me
Put the session ID in the URL and it will work on all systems.
Alternatively, don't use sessions for the audio file.
> -----Original Message-----
> From: Peter Chen [mailto:[email protected]]
> Sent: maandag 07 december 2009 09:22
> To: [email protected]
> Subject: the Tomcat generates more than one session id with
> the same http request, please help me
>
> Hi, all
>
>
>
> I am testing a website with the server Tomcat. I am using
> Tomcat 5.5.26, and I found one problem.
>
>
>
> The website is used to display audio files. After I log in
> the website, I can see the icon of the audio file. But after
> I press the button "play", it has different results with
> different browsers.
>
> When I use firefox3.5.5 and Google Chrome 3.0, I found the
> Tomcat will create more than one session id, and it can not be played.
>
> But if I use IE6.0/IE7.0/IE8.0, I found there is only one
> session id, and it plays well.
>
>
>
> I don't know the reason, has someone met this problem before,
> please help me to solve this problem, thanks.
>
>
This message and attachment(s) are intended solely for use by the addressee and
may contain information that is privileged, confidential or otherwise exempt
from disclosure under applicable law.
If you are not the intended recipient or agent thereof responsible for
delivering this message to the intended recipient, you are hereby notified that
any dissemination, distribution or copying of this communication is strictly
prohibited.
If you have received this communication in error, please notify the sender
immediately by telephone and with a 'reply' message.
Thank you for your co-operation.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]