Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Passing $_POST variables between servers

Status
Not open for further replies.
Aug 23, 2004
174
US
I have a login page that stores a username and password as session variables when a user logs in. There is also an order status login form, with the same users and passwords, that posts to another server where the order status is retrieved.

What I would like to do is if the user is logged in and clicks the order status link, they would be sent to the order status page with the login information, user name and password and automatically logged in.

Is there anyway to do this without passing the variables as $_GET variables?

Thanks
 
Yes. What I would do is store some unique identifier on the first site associated with that user. Pass that UID instead of username and password. Have the second server ask the first if that UID is valid, and if necessary what username and password are associated to it. Does that make sense?

-----------------------------------------
I cannot be bought. Find leasing information at
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top