Re: Passing variables between servers

From: Date: Wed, 21 Aug 2002 17:35:25 +0000
Subject: Re: Passing variables between servers
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-113503@lists.php.net to get a copy of this message
I thought about encrypting the whole querystring then decrypting it on the other server, but I wanted to keep the address bar clean. I wanted the user not to know they just got passed. If all a sudden there was a lot of data in the address bar they will wonder what it is for. Mark. _________________________________________ Mark McCulligh, Application Developer / Analyst Sykes Canada Corporation www.SykesCanada.com (888)225-6824 ex. 3262 mmcculli@SykesCanada.com ----- Original Message ----- From: "Adam Williams" <awilliam@mdah.state.ms.us> To: "Mark McCulligh" <mmcculli@sykescanada.com> Cc: <php-general@lists.php.net> Sent: Wednesday, August 21, 2002 1:30 PM Subject: Re: [PHP] Passing variables between servers > Just suggestion but why not use md5($password) and then send the result of > that in your GET? > > Adam > > On Wed, 21 Aug 2002, Mark McCulligh wrote: > > > I have two server. One running PHP/Linux the other running ASP/2000. > > The user logins into the PHP server and session variables are made to hold > > their username, password, department, etc.. The site from time to time > > redirect the user to the ASP server. I want to pass the session variable > > across to the other server. I can't use the GET method. > > (www.domain.com/form.asp?username=Mark.....) because putting the password on > > the address bar is not an option. The ASP server will redirect them back > > when they are done on it. It will pass back the variables just in case the > > session on the PHP server has expired for the PHP server can create a new > > session if needed. > > > > I don't want to use a cookie. > > > > I was thinking of using cURL but I can't fine any information about using it > > in ASP. I know how to use cURL in PHP to redirect the user to the ASP > > server and pass the variables in the POST method, but not the other way. > > > > Any ideas would be a GREAT help. > > Mark. > > > > _________________________________________ > > Mark McCulligh, Application Developer / Analyst > > Sykes Canada Corporation www.SykesCanada.com > > mmcculli@SykesCanada.com > > > > > > > > >

« previous php.general (#113503) next »