Hi,
further investigating, I ran into the the article below and found out that the $live_site parameter in my configuration.php file was blank. So I fixed that.
www.joomlapolis.com/forum/145-community-builder/205459-joomla-sef-and-rewrite-urls
After fixing it, the original problem did not go away (I still cannot access the restricted page directly thru the bookmark), but at least now I am getting some more stable behavior. Now, considering I have checked "remember me", if I access a restricted content in a new window or tab (thru a bookmark for example) after the session expires, that takes me to CB Login module telling me that I need to login first, instead of the previous situation where I was sent to the main page, though logged in, with a small Joomla clickable window reporting the error message “You are not authorized to view this resource" (which was confusing since I was logged in!!!).
Regarding my comment in the previous reply saying "if I disable Rewrite URLs under Extensions->Plugins->Community Builder System plugin the problem does not happen", this has changed behavior as well after the live_site parameter fix. Now, with the live_site parameter properly configured, the behavior with or without "Rewrite URLs" seems to be the same, the only difference is as follows:
- Rewrite URLs enabled -> access to restricted content after session expires takes me to CB Login module telling that need to login first
- Rewrite URLs disabled -> access to restricted content after session expires takes me to Joomla Login module telling that need to login first
I'll keep investigating.
Regards,
Fabio.