Open GoogleCodeExporter opened 9 years ago
If you put this very first thing in the page, even before the <html> tag, I
think it should prevent login.
If not, refresh should at least do the trick, ie something like this (not sure
if syntax is valid, just from top of my head):
if (!$mollify->isAuthenticated()) {
print '<html><head><meta http-equiv="Refresh" content="0"/></head></html>';
die();
}
Original comment by samuli.j...@gmail.com
on 24 Jan 2012 at 6:42
Thank you Samuli,
I tried your solution, it worked well locally but not remotely. To make it work
remotely, I added 'usleep(10);' before checking for effective authentication.
By the way the previous code was inserted before the HTML tag.
Greetings,
Daimonji Kyrillos
Original comment by cyril.ha...@gmail.com
on 25 Jan 2012 at 12:15
Original issue reported on code.google.com by
cyril.ha...@gmail.com
on 24 Jan 2012 at 4:59