This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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: 12759
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
Similar Threads
Authentication woes
EJB3 Doubts
scope issues?
page attribute tag for session?
How to prevent creating a new session whenever a resource is mapped from struts-config.xml