This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android 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: 12761
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
How to prevent creating a new session whenever a resource is mapped from struts-config.xml
page attribute tag for session?
scope issues?
Authentication woes
EJB3 Doubts