• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Pass HTTPSession to ASP

 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 618
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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).
 
reply
    Bookmark Topic Watch Topic
  • New Topic