This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem with Servlet 2.2 API  RSS feed

 
Eric Chassaniol
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
We met some surprising behavior of methods req.isRequestedSessionIdValid() and req.getRequestedSessionId() which seem not returning the same thing when called on
VAJ + Servlet API2.2
and
WSAD5.0 (WTE 4.0.4) + servlet API2.2
Why isRequestedSessionIdValid() returns false whith VAJ, and true whith WSAD after sending a request whithout specifying any session ID ?
Meanwhile API's javadoc seem agree with first implementation :
[getRequestedSessionId()] :
"Returns the session ID specified by the client. This may not be the same as the ID of the actual session in use. For example, if the request specified an old (expired) session ID and the server has started a new session, this method gets a new session with a new ID. If the request did not specify a session ID, this method returns null."
Which method may replace properly this behavior difference ?
Regards,
Eric
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!