File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Maintaining sessions between ASP & JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Maintaining sessions between ASP & JSP" Watch "Maintaining sessions between ASP & JSP" New topic

Maintaining sessions between ASP & JSP

Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
I have a site which initially takes u to a jsp page and from here the user is also directed to am ASP page. So i need to maintain 2 different sessions. While moving from jsp to asp, i pass the employee id each time, and create a session. But at the same time i need to maintain the session for the jsp, so that when i go back to the jsp link, the jsp session is still intact.
How do i do that?
Any solutions ...
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13037
I don't think there is any easy way to make ASP and JSP cooperate on the session. Maybe a shared database with the employee id as the common key?
I agree. Here's the link:
subject: Maintaining sessions between ASP & JSP
It's not a secret anymore!