Per Jansson
|
| Posted: 02/23/2003, 3:38 AM |
|
Can anybody help with this one?
I am running http://www.mydomain.com on a non-secure server. However, I can use SSL if I type the URL https://www.mywebhoster.com/~mydomain/. This URL points to the files in my domain with a secure connection.
My login page is called login.php and it redirects to a page called index_on.php, and I would like to use the encryption of SSL for the actual login information by pointing at my login page like this: https://www.mywebhoster.com/~mydomain/login.php
and after logging in, redirecting the page to http://www.mydomain.com/index_on.php.
But this does not work. The login session variable does not seem to exist when I came back to http://www.mydomain.com/index_on.php.
Has anybody a solution for this?
Thanks
Per
|
|
|
 |
feha
|
| Posted: 02/23/2003, 7:24 AM |
|
It is beacuse of sessions ...
when you use http:// and https:// or different domain name this can't preserve sessions set before on https:// and retrive them on http:// ....
(www.mywebhoster.com/~mydomain vs www.mydomain.com).
regards
feha
[www.vision.to]
|
|
|
 |
Per Jansson
|
| Posted: 02/23/2003, 9:18 AM |
|
Thanks feha.
Can I also draw the conclusion that there is no way to work around this?
PEr
|
|
|
 |
feha
|
| Posted: 02/23/2003, 10:32 AM |
|
I'm affraid there is no easy way ...
You have to let your visitors stay all the time under https:// and this works well ...
feha
regards
[www.vision.to]
|
|
|
 |
|