J
Joe Randstein
Hi!
I have a little problem with my JSPs. A new session is constructed
every time the page is accessed, sure it is not working that way, as I
can't store any data that way.
I developed the code at home on Windows/Tomcat4.0.6 and it worked as
it should, but when I deployed it on a Linux server the problem
started. Every time the session has a new ID, isNew() responds with
true.
From my observation the browser isn't getting a cookie, so it
obviously can't send back the cookie the next time it accesses the JSP
and that should explain why a new session is created every time.
But handcrafted cookies work on the Linux server and Browser, I tested
that. But I wanted to use the session API and not do the work by hand.
Does anybody have an idea what can be wrong? Is there a parameter I
can check? Or a check in the tomcat config?
Thank you very much for your responses
I have a little problem with my JSPs. A new session is constructed
every time the page is accessed, sure it is not working that way, as I
can't store any data that way.
I developed the code at home on Windows/Tomcat4.0.6 and it worked as
it should, but when I deployed it on a Linux server the problem
started. Every time the session has a new ID, isNew() responds with
true.
From my observation the browser isn't getting a cookie, so it
obviously can't send back the cookie the next time it accesses the JSP
and that should explain why a new session is created every time.
But handcrafted cookies work on the Linux server and Browser, I tested
that. But I wanted to use the session API and not do the work by hand.
Does anybody have an idea what can be wrong? Is there a parameter I
can check? Or a check in the tomcat config?
Thank you very much for your responses