James,

The problem has, in my case, nothing to do with switching from SSL to
non SSL. On my non SSL test machine everything works 100% but when I run
the same script on a different machine with SSL it doesn't work. 


I think I know where the problem I'm having is coming from; 

My non SSL connection runs on apache with php, the SSL server is running
Win2K with PHP as CGI (I am testing this soon on a cobalt; keep you
posted on the issue). 

Please correct me if I'm wrong, but I think the CGI version of PHP
doesn't support the WWW authentication method. So I'm guessing my
subject was a little off.

Maybe a good solution for you is creating a form on the page just before
leaving SSL with the variables you want to transfer in hidden fields,
and re-registering them in the non SSL environment.

Frank.

-----Oorspronkelijk bericht-----
Van: James Arthur [mailto:[EMAIL PROTECTED]] 
Verzonden: zaterdag 9 februari 2002 22:03
Aan: Frank Hertogs
Onderwerp: Re: [PHP] ssl

On Friday 01 Feb 2002 22:25, Frank Hertogs wrote:
> Anyone have experience with authentication on ssl connections, I have
a
> (working) script to authenticate a user but as soon as I put it on my
> ssl it just stops working.

Frank, can you elaborate a little? Are you using cookies, sessions etc?

I have a problem where I send my user to a https page which allows them
to 
enter username and password. They then get given a session cookie. When
they 
are redirected to the non-SSL page the session variables are not
transferred. 

Is this a little like the problem you have? Have you found a way around
it 
yet?

--jaa


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

Reply via email to