I'm trying to use the global variablee '{!$Organization.Id}' and '{!$Profile.Id}' in a visualforce page. When I access the page directly from apex/MyPageName the variables are picked up ok from the Profile my user is assigned to, however when I try to access the page via a Force.com Site the global variables are not picked up correctly. I'm presuming it's because of some settings on the Force.com Site's Guest User profile but I could not find the settings to change on the profile or settings which could affect this.
Does anyone have any tips on where I might be going wrong?
Thanks.