Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

i v deployed a folder in tomcat 5.5.1,more sessions are created

 
sreenivas jeenor
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i v deployed an appliccation folder in tomcat5.5.1. normally single session must be created but ,i m getting 5 sessions at the begging ,and when i start using the application,its creating more numnber of sessions.
 
Jeffrey Spaulding
Ranch Hand
Posts: 149
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That happens when you work with sessions and have cookies disabled in your browser. You need to either enable session cookies or use the
response.urlencode() method to rewrite the URL on subsequent calls.

J.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic