onday, April 24, 2006 3:22 AM
To: Struts Users Mailing List
Subject: 回覆: RE: Session without cookies
Hi,
The test is done within the same tab in firefox.
Thanks.
Michael
--- abdurrahman sahin
<[EMAIL PROTECTED]> �f:
> are you sure that u did not start a new browser process each time.?
>
Hi,
The test is done within the same tab in firefox.
Thanks.
Michael
--- abdurrahman sahin
<[EMAIL PROTECTED]> 說:
> are you sure that u did not start a new browser
> process each time.?
> because sessions are browser process based.
> starting a new process and opening a new window
> within a b
are you sure that u did not start a new browser process each time.?
because sessions are browser process based.
starting a new process and opening a new window within a browser window are
different things.
http://asahin.net
-Original Message-
From: Chan Michael [mailto:[EMAIL PROTECTED]
On 4/24/06, Chan Michael <[EMAIL PROTECTED]> wrote:
> Hi Chandra,
>
> Thanks for your prompt reply.
>
> I have checked many many times and I have 100% sure
> there is no
>
> Request.getSession(true);
Request.getSession(true);
and
Request.getSession();
are 100% identical.
regards
Leon
>
> in all
Hi Chandra,
As far as I know, the attribute "cookies" of the
"Context" node in Tomcat server.xml is the only place
I need to set. From the doc,
http://tomcat.apache.org/tomcat-5.5-doc/config/context.html
cookies:
Set to true if you want cookies to be used for session
identifier communication if
Hi Chandra,
Thanks for your prompt reply.
I have checked many many times and I have 100% sure
there is no
Request.getSession(true);
in all my action classes.
Thanks.
Michael
--- [EMAIL PROTECTED] :
> I think some where(may be in the action class
> association with the action /test.do) you
I think some where(may be in the action class association with the action
/test.do) you are creating new session each time for each request. Most
possible mistake could be using
Request.getSession(true);
See below documentation from Servlet Specifications
***
7 matches
Mail list logo