File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes Maintaining session in a terminal services environment Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Maintaining session in a terminal services environment" Watch "Maintaining session in a terminal services environment" New topic
Author

Maintaining session in a terminal services environment

steward frank
Greenhorn

Joined: Mar 22, 2004
Posts: 20
Hi all,
I am facing a problem where i am unable to maintain a session in a terminal services environment. Basically, the enviroment used to access my web application is citrix. So when i am on one terminal, and i surf the website, every form submission is creating a new session for me. I have already used response.encodeURL() to make sure that if cookies cant be used then the jsessionid will be appended at the end of the url but it does not work.It works perfectly fine on my local machine but it just cant work when i access the website thru a terminal(virtual desktop, that is). I have tried checking my mail on mail.yahoo.com and there isnt any problems. Can anyone tell me what i am not doing rite?

Best Regards
David Ulicny
Ranch Hand

Joined: Aug 04, 2004
Posts: 724
Did you enabled url rewritting on your application server?
[ March 17, 2005: Message edited by: David Ulicny ]

SCJP<br />SCWCD <br />ICSD(286)<br />MCP 70-216
steward frank
Greenhorn

Joined: Mar 22, 2004
Posts: 20
Everything works now, i just restarted tomcat and the url encoding took effect. silly tomcat, dont know why i had to restart tomcat for url rewriting to take place but nevertheless, it works now, Thanks David for your reply.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Maintaining session in a terminal services environment