Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Pass HTTPSession to ASP

 
Joly Mathew
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Stephen Huey
Ranch Hand
Posts: 618
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic