Ben,
That did it! Changed it in the config file. Thanks.
One thing I noticed that was strange though, even though the logout URL was also updated with the www prefix, after logging out I am still directed to the URL without the www prefix.
It shows correctly in the settings table also.
Not sure what that is.
Take care,
Bill
That did it! Changed it in the config file. Thanks.
One thing I noticed that was strange though, even though the logout URL was also updated with the www prefix, after logging out I am still directed to the URL without the www prefix.
It shows correctly in the settings table also.
Not sure what that is.
Take care,
Bill
(Apr 29th, 2010, 4:36 PM)Ben Wrote: Hi Bill,
This can happen if you link to http://www.yoursite.com/ or http://yoursite.com and the $g_root_url value has the other one specified (see your /global/config.php). What happens is that the script creates the login session information on one location, then redirects to a URL based on $g_root_url, which is then unable to FIND the sessions and boots you out. Second time round, the URL is the same so you can log in.
The simple fix is to link to the right URL first time round. Alternatively (and more elegantly), some hosts let you force there to be either www or not showing up for all URLs. That will fix it automatically.
Hope this helps -
- Ben