>>- Forward to page /account and read the HttpSession (not working)
Does your /account url map to a different context or a different
servlet?
Maybe having two context or 2 servlets causes your problem.
For my app, I use just one service Implementation class, and that
service may call other hel
Thanks Lothar, but I allow Cockies and still the session is not
there...
Dariusz
On Sep 21, 10:35 am, Lothar Kimmeringer wrote:
> Dariusz schrieb:
>
> > - User logs in
> > - User in database, save user object in HttpSession (works)
> > - Forward to page /account and read the HttpSession (not
OK, I think it is related to my vhosts settings.
The problem is, that I'm using a vhost to forward from port 80 to my
internal webapp directory. I'm using ProxyPass and probably this causes the
problem.
My settings are:
*
Servername my.url.com
DocumentRoot "/home/me/webapps/myApp/WebCont
Dariusz schrieb:
> - User logs in
> - User in database, save user object in HttpSession (works)
> - Forward to page /account and read the HttpSession (not working)
The session is found by a cookie. If the browser forbids the
use of cookies, the server is screwed.
> The weird part is here. If I r
Hi!
A simple scenario.
- User logs in
- User in database, save user object in HttpSession (works)
- Forward to page /account and read the HttpSession (not working)
Saving the user object in session works fine, but when I try to read
it, I get a "NullPointerException". The session is not there.