session variables, servlets, jsp to asp

B

bigbinc

I know this is not the case, but I thought I would ask anyway. Can
you session variables created in asp and access them in jsp/servlet.
Sounds silly I know, I bet you can access cookies created in asp and
get the values in jsp.
 
J

John C. Bollinger

bigbinc said:
I know this is not the case, but I thought I would ask anyway. Can
you session variables created in asp and access them in jsp/servlet.
Sounds silly I know, I bet you can access cookies created in asp and
get the values in jsp.

As far as I know ASP session variables are stored in the ASP server.
That is certainly the case of with session variables in the Servlet API.
Perhaps more to the point, the session itself is a characteristic
of the server (software instance). There might be ways that you could
communicate the data between an ASP server and a servlet container, but
I can't imagine any that would actually be worth your time to implement.

Cookies, on the other hand, are stored in the client's browser, and
delivered back to the server(s) with HTTP requests. If cookies are
configured correctly then they can be shared between different flavors
of application servers.


John Bollinger
(e-mail address removed)
 

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

Members online

No members online now.

Forum statistics

Threads
473,776
Messages
2,569,603
Members
45,189
Latest member
CryptoTaxSoftware

Latest Threads

Top