Hello,

I'm working on an application with spring/hibernate/tomcat. I'm using Tomcat
5.5 under windows.

In one of my vue, I use the Prototype library to call a particular
controller where I can retrieve the HttpServletRequest and
HttpServletResponse.

I do some logs in this controller:
  logger.log(Level.DEBUG, "session id ="+request.getSession().getId());
  logger.log(Level.DEBUG, "session valide 
?"+request.isRequestedSessionIdValid());
  logger.log(Level.DEBUG, "session from URL 
?"+request.isRequestedSessionIdFromURL());
  logger.log(Level.DEBUG, "session from cookie 
?"+request.isRequestedSessionIdFromCookie());


And I got this result:
  DEBUG session id = 62FA98A3689AF9D8CBC5DC89ED911B00
  DEBUG session valide ? true
  DEBUG session from URL ? false
  DEBUG session from cookie ? true

The session id of my vue (a jsp) and my controller are the same. Excellent.

If I set a variable in session in my vue, and if I retrieve it in my
controller, I got a null reference.

Apparently the ids are the same, but not the content :(.

Is there anybody in the same situation ? Is there a solution for retrieving
the same content of my session ?

Regards.
-- 
Didier BRETIN
http://www.bretin.net/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to