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

Tom Hodder tom at scriptsupport.co.uk
Fri Dec 19 02:19:52 PST 2003


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.

Cheers.

Tom H






----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



More information about the horde mailing list