I made a change that looked a lot like this:
function ScreenURL($screen, $secure=FALSE, $extra='')
{
global $sid;
global $UserInfo;
if(USE_SSL AND $secure)
{
$URL = "https://www17.secure-website.net/~chaosma";
}
else
{
$URL = "http://chaosmailorder.com";
}
$URL .= EXTERNAL_PATH . SCRIPT_NAME . "?SCREEN=$screen"; //removed
SERVER_NAME .
...
When I try to navigate to a secure area such as check out or admin I get
logged out. If I return to the default ScreenURL() I can use either the
secure URL or the not secure URL for the whole site and everything is fine.
I do not want to use the default if I dont have to though since the URL on
the certificate won't match if I use chaosmailorder.com and using the secure
URL for the whole thing is just undesirable.
Why does this happen?
Chuck
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Leon Atkinson
> Sent: Tuesday, October 17, 2000 7:17 AM
> To: FreeTrade
> Subject: RE: [FreeTrade] Path problems
>
>
> Why does FreeTrade put the host name in? I think we just wanted to be
> precise. If you have other needs, then you should just edit ScreenURL().
>
>
>
> ------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Site: http://www.working-dogs.com/freetrade/
> Problems?: [EMAIL PROTECTED]
>
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Site: http://www.working-dogs.com/freetrade/
Problems?: [EMAIL PROTECTED]