Hi all, Any one can suggest ,how can I pass the HTTPSession object from a JSP/Servlet to a ASP page. I need to pass the User Credentials stored in HTTPSession object to a ASP Application so that ,It can behave like part of the Java Application.
Thanks in Advance, Joly Mathew
posted 11 years ago
I will admit that it's possible I'm wrong, but I doubt you can pass that object from Java to ASP. Why don't you store the info represented by those credentials in strings or XML or something and collect them all in one big String (like a file), and then post those bytes across as text. Essentially, you'll have an ASP "listening" or "landing" page, and if anything ever posts to it, you can simply get the Request.InputStream and you'll know that the bytes in that stream are just text that you can parse. (You can post from your Java side by writing to an OutputStream, and instead of writing out to a file, you write out to a URL).