When I try to login via the Facebook OAuth module on my site: http://heleplanter.dk

I get the resulting page: http://heleplanter.dk/#_=_

I need to push the login button twice to actually see that I am logged in. The reason why this is happening is because the http://heleplanter.dk/#_=_ page is boost cached:

The question at hand is, how do I notify the boost module not to cache the page: /#_=_ ?

At the Boost settings page:
BOOST CACHEABILITY SETTINGS
Cache specific pages
[x] All pages except those listed

#_=_
/#_=_
#*

My only current work around is to disable the Boost module, which I don't want to do. :-/

Any hints or tips? Thanks!

BR GrN.dk

Comments

Anonymous’s picture

Priority: Major » Minor
Status: Needs review » Closed (works as designed)

You can't, it's how the internet works, the browser skips to the page mark #

example requesting

http://example.com/p.php#hashtag

containing:


print_r($_SERVER);

phpinfo();

and the log would give

86.116.189.46 - user [14/Dec/2014:10:22:39 +0000] "GET /p.php HTTP/1.1" 200 20015 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/600.2.5 (KHTML, like Gecko) Version/7.1.2 Safari/537.85.11"

the only way to do it would be to pass every page though a javascript page to pull the entire URL (browser processing) to read the #. Also see all apache documentation to do with mod_rewrite which lists every variable that rewrite detects and anything after the # is not included.

http://httpd.apache.org/docs/current/mod/mod_rewrite.html#rewritecond

grn’s picture

OK, thanks for the explanation.

Is this an issue that should be handled by the Facebook login module instead?

BR GrN.dk

grn’s picture

Just for reference, the issue is being discussed here: https://www.drupal.org/node/1794578

BR GrN.dk