Can ASP.NET and JSP Share Session State?

  • Thread starter Thread starter jeff_carver
  • Start date Start date
J

jeff_carver

I've been looking at a number of threads that seem to address this
issue, but they all seem to vector off into the weeds. So, can anyone
provide a definitive Boolean answer to the question, "Is it possible
for a JSP page and an ASP.NET page to communicate with each other via
session state variables?"

TIA,
Jeff Carver
 
Strickly speaking no (as they are totally different environment, they can't
share the "same" session variables).

You could likely though simulate this with basically two big options :
- using a common store (such as a DB, cookies, or perhaps a replacement for
the session object usable from both ASP.NET, JSP) for those values rather
than session variables
- or by passing back and forth updated values so that changes are reflected
in the other side
 
Thanks, Patrice. That's not the answer I was hoping for, but it was
clear and unambiguous!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top