I'm pretty sure it's just an issue of using HTTPS for encrypted pages and
HTTP for unencrypted.  For example:

        http://www.example.com

is unencrypted and pulls from port 80 on the web server.  Whereas, 

        https://www.example.com

would be encrypted and come from port 443 on the web server.

You can tell whether you're in encrypted mode or not by checking the
variable:

        $_SERVER['HTTPS'] == "on"

One thing to check, anchors with no protocol specified default to the
current protocol.  If you're in an encrypted page and have a link like this:

        <a href='/index.php'>Home Page</a>

The protocol will default to https and this may be the source of the problem
you're experiencing.  

-Ed



---------------------------------
Hi Ed,

Maybe it's just one of those slow days, brain-wise. But I have a 'problem' 
with https remaining in that mode even on pages that haven't specifically 
requested it. That was not my understanding how it worked. Now, if I have to

call "http" on pages that do not need https, then how would I be able to 
distinguish whether or not the mode is https or not. 

[I'm thinking of my bank's secure pages -- after I'm finished with 
the secure stuff, I get booted out of https. I suppose that's what I
expected 
would happen (only pages calling https would be in it.)

Sigh . . . more reading to do :>

Regards,
Andre

 
****************************************************************************
This message is intended for the sole use of the individual and entity to
whom it is addressed, and may contain information that is privileged,
confidential and exempt from disclosure under applicable law.  If you are
not the intended addressee, nor authorized to receive for the intended
addressee, you are hereby notified that you may not use, copy, disclose or
distribute to anyone the message or any information contained in the
message.  If you have received this message in error, please immediately
advise the sender by reply email and delete the message.  Thank you very
much.                                                                       

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

Reply via email to