arpit kumar

Greenhorn
+ Follow
since Feb 11, 2011
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by arpit kumar

Problem solved to some extent . i added "useHttpOnly=false" in context.xml of Tomcat installation pack's conf directory and now I am able to login to my app with only single session. Still having some issues to run web app succesfully, need some more luck.


Thanks.
13 years ago

Before running my application I redployed and also restatred the server.

One more thing, when I am setting some attributes in session , I get session from HttpServletRequest (using execute method of struts framework) and when I retrive the same attribute I get the session from page context using pageContext.getRequest().
So, is there any difference in the two ways of getting session, with tomcat 6 same code was working fine.


Thanks.
13 years ago
I read that document but could'nt reach to any finite point. How do we provide versioning to our webapps? Where we define the version for the web app?

Thanks.
13 years ago
Thanks, I'll read it and get back to you with the results.
13 years ago
Hi,

I have recently installed Tomcat 7.0.8 replacing Tomcat 6. With Tomcat 6 my application was working fine.
Now with Tomcat 7 I am not able to login in my application. When i debug the code i found that there are two sessions maintained.
To confirm it, I printed the session id on the login page of my web application from jsp page using Session ID =<%=request.getSession().getId()%>and when I press login button and debug the code I found some attributes are set to different session and then retrived from the other session(printed on login page).

if I replace the tomcat 7 by six again everything works fine. Can some one tell me what could be the reason behind it.


Thanks.
13 years ago