• 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
  • Ron McLeod
  • Junilu Lacar
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Piet Souris
  • Carey Brown
  • Stephan van Hulst
Bartenders:
  • Frits Walraven
  • fred rosenberger
  • salvin francis

Web Page query

 
Ranch Hand
Posts: 99
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
HTTP Website(Site1) has to send data to an HTTPS website(Site2), Site 2 processes the data, and wants to send the result back to Site1

Q1. How is the session maintained?
Q2.How is the data transfered via POST or Response.Redirect
 
Ranch Hand
Posts: 1374
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Bharadwaj,

When domain changes session is vanished. The only way I know is passing data in query string. POST doesn't work only GET i.e. using query string.
(I am not very much sure.)
 
Ranch Hand
Posts: 405
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

You can maintain session on other domain via query strings or using database.....

for example www.xyz.com?username=ujjwal&password=xyz

 
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Here one website is working as client to otherwebsite.

Solution 1:

Here HTTP website (application C) is client of HTTPS website (application S).

application C have to use httpClient (http://hc.apache.org/httpclient-3.x/) and submit the request to application S. you can use POST method also.

***************************************************

Solution 2:

I will go forward and say your HTTPS website is exposing webservice.

Expose webservice from application S. User web service client in apllication C to consume the webservice.
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic