[horde] explicitly log back into a session using the auth_key

Jan Schneider jan at horde.org
Fri Dec 19 02:43:04 PST 2003


Zitat von Tom Hodder <tom at scriptsupport.co.uk>:

> Quoting Chuck Hagenbuch <chuck at horde.org>:
>
>
> > > $_COOKIE['auth_key'] = $_POST['Horde'];
> > > and
> > > $_GET['Horde'] = $_POST['Horde'];
> >
>
> > You want the session id instead. Though I'm not exactly sure what you
> mean by
> > sending the response back from a different server, and where/how you
> intend
> > to
> > recreate the session.
> >
>
> I have a page that I want to send to a payment gateway, so the payment
> gateway
> server can display it as a success page. The payment gateway is calling
> my
> servers horde page using POST, and providing the Horde session ID as a
> POST
> variable.
>
> I can get the page sent to the other server to re-establish the session
> explicitly using
> $_GET['Horde'] = $_POST['stored_Horde'];
> if it is enabled where the session ID is sent in the url, however in my
> live
> environment, this is disabled somehow. ie urls are
> http://whatever/horde/index.php rather than
> http://whatever/horde/index.php?
> Horde=9877349782347932479327492 etc.
> This does not work for the former case, so I'm looking to over-ride it
> somehow.

You must set the session name on that server to "Horde". You don't even need
to set $_GET['Horde'] then.

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft



More information about the horde mailing list