Daryani,

If you are just saving simple values in the session why not just use
a temporary cookie? Save the values to the cookie from ASP and then
read the values in from JSP. Your session id in ASP depends on the client
having cookies enabled anyway ... so why not?
If there are many values .. then use a cookie dictionary ...

I think this is the simplest solution ...

Cheers,
Jonathan


-----Original Message-----
From: Daryani Santosh [mailto:[EMAIL PROTECTED]]
Sent: 30 June, 2000 3:16 PM
To: [EMAIL PROTECTED]
Subject: Passing Session values between ASP and JSP


Hi All,
          I am working on JSPs that interact with another website , where
the
pages are ASPs , I need to get the session values set in a ASP into a JSP.
Session variables work fine between ASP-ASP and JSP-JSP but inter ASP-JSP
communication results in null session variables. I am not sure though , but
I
believe that there should'nt be any problem in doing so.
     Can anyone throw some light on this. Your response is appreciated

ASP code
<%
Session("cono")="7719"
%>

JSP code
<%
 String cono= (String)session.getValue("cono")
out.println("Value returned from session ="+cono);//results in a null
%>

Thanks in advance
Santosh

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to