Re: Passing variables between servers
| From: | Mark McCulligh | Date: | Wed, 21 Aug 2002 19:26:14 +0000 |
| Subject: | Re: Passing variables between servers | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-113517@lists.php.net to get a copy of this message | ||
The session variables are need on both server for authorization needs.
The two servers host two separate Intranet apps and I am trying to join the
two together into one Intranet app. The variable will be used on both
sides.
The reason I don't what to use cookie is your users keep disabling them.
They think a web site can use a cookie to break into their computer. They
also disable JavaScript a lot too.
_________________________________________
Mark McCulligh, Application Developer / Analyst
Sykes Canada Corporation www.SykesCanada.com
mmcculli@SykesCanada.com
----- Original Message -----
From: "Seairth Jacobs" <seairth@seairth.com>
Newsgroups: php.general
To: <php-general@lists.php.net>
Sent: Wednesday, August 21, 2002 2:18 PM
Subject: Re: Passing variables between servers
> Is there any reason to pass the data to the ASP server other than the need
> for the ASP server to pass it back in case the PHP server session has
> expired? If not, why not just store the login information in a local
table
> referencable by a primary key that you pass around instead? You could
even
> do this with GET.
>
> ---
> Seairth Jacobs
> seairth@seairth.com
>
>
> "Mark McCulligh" <mmcculli@sykescanada.com> wrote in message
> news:20020821172353.13859.qmail@pb1.pair.com...
> > 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
> >
> >
>
>