No.
-Original Message-
From: jfc100 [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 01, 2002 6:43 AM
I think I can assume that calling 'request.getSession()'
explicitly will always return an existing session.
Is that correct?
Joe
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
Great rhetorical answer! You guys are learning ;-)
Mark
-Original Message-
From: James Mitchell
Sent: Wednesday, May 01, 2002 6:43 AM
What exactly is your question?
Errwell did you answer your own question?
If I am understanding what you are saying:
taking-a-poke-at-it
If
It will create and return a session if none exists. If session exists it will return
that.
V
-Original Message-
From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 01, 2002 5:20 PM
To: 'Struts Users Mailing List'
Subject: RE: ideal method to set the sessionid in
No it won't.
-Original Message-
From: Vikram Goyal01 [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 01, 2002 7:52 AM
To: Struts Users Mailing List
Subject: RE: ideal method to set the sessionid in struts?
It will create and return a session if none exists. If session exists it
will
Oops, sorry...finger slipped off the ' key and hit return.
No, it won't if the method parameter is getSession( false);
With getSession() or getSession( true), an existing session
will be returned IF IT EXISTS, else a new session for the
request will be created.
Mark
-Original
copy-paste-javadoc
getSession
public HttpSession getSession()
Returns the current session associated with this request, or if the request does not
have a session, creates one.
/copy-paste-javadoc
V
-Original Message-
From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
Sent: Wednesday,
Exactly my point... :)
V
-Original Message-
From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 01, 2002 5:29 PM
To: 'Struts Users Mailing List'
Subject: RE: ideal method to set the sessionid in struts?
Oops, sorry...finger slipped off the ' key and hit return.
No,
Right, I just wanted to give him the options, since it appears he doesn't
understand session persistence mechanisms.
Mark
-Original Message-
From: Vikram Goyal01 [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 01, 2002 8:06 AM
To: Struts Users Mailing List
Subject: RE: ideal method to
Galbreath, Mark wrote:
Right, I just wanted to give him the options, since it appears he doesn't
understand session persistence mechanisms.
Mark
-Original Message-
From: Vikram Goyal01 [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 01, 2002 8:06 AM
To: Struts Users Mailing List
What is happening here?
Your app server sets the session id cookie.
-TPP
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Tero P Paananen wrote:
What is happening here?
Your app server sets the session id cookie.
-TPP
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
So does this mean that I never have to set cookies?
What exactly is your question?
Errwell did you answer your own question?
If I am understanding what you are saying:
taking-a-poke-at-it
If struts appends the sessionid in case the client doesn't accept cookies,
why wasn't I prompted about cookies that were never set?
Am I way off here?
12 matches
Mail list logo