Hello Børge,

Tuesday, January 13, 2004, 9:54:27 AM, you wrote:

BS> I'm trying to send my session ID using POST/GET auto-inserted by PHP.
BS> This works like a charm in a .php file. But in a .cgi file, a new
BS> PHPSSID appears in the Address field of my browser every time I follow
BS> the link from the file to itself.

Although I cannot give you a solution, I have had exactly the same
problem. My host (Pair) offers a wrapped version of PHP which I use
for file uploading so that the files are not owned by "nobody". The
problem being it's a CGI version and the session IDs do not work from
the main Apache module version to the CGI and back.

I don't think it's as simple as making the session path the same for
each version either, but I haven't actually tried it, so you never
know.

In the end I stored the session values in SQL, passed a pointer into
the CGI version which read them out and reconstructed the session and
then did the same when I left the CGI version.

-- 
Best regards,
 Richard                            mailto:[EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to