• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to set session id manually ?  RSS feed

 
Kathiresan Chinnasamy
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Friends,

Is there any option to set session id manually ?

I tried with org.apache.catalina.Session.this.setId("123") ; . but i got compile time exception eclipse

The exception is : No enclosing instance of the type Session is accessible in scope .

please let me know it if you know how to set session id manually.

Thank you in advance
 
Surya Kant
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think you cant set session id manually.This will be set by container automatically.
BTW why you want to set it?
 
Bauke Scholtz
Ranch Hand
Posts: 2458
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Pleae take a step back and elaborate about the problem for which you think that this solution is the right solution (which apparently is not after all).
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!