aspose 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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Java in General
Reply 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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Maintaining session in a terminal services environment
 
Similar Threads
setting environment variables - Linux
setting Linux Java environment
Chat across network
Direct Web Remoting (DWR) Terminal Services emulation
cannot get session variables