Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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 Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Maintaining sessions between ASP & JSP" Watch "Maintaining sessions between ASP & JSP" New topic
Author

Maintaining sessions between ASP & JSP

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Hi,
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
Rancher

Joined: Mar 22, 2000
Posts: 12891
    
    5
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?
Bill
 
I agree. Here's the link: http://kickstarter.com/rocket-mass-heater
 
subject: Maintaining sessions between ASP & JSP