cache result of (expensive) security check for visitor rights

begin tightening x-profile security
This commit is contained in:
Friendika 2010-12-02 21:09:55 -08:00
parent 041933db87
commit 4d84a87ce4
3 changed files with 37 additions and 30 deletions

View file

@ -27,6 +27,6 @@ function redir_init(&$a) {
dbesc($dfrn_id),
intval(time() + 45));
goaway ($r[0]['poll'] . '?dfrn_id=' . $dfrn_id
. '&dfrn_version=' . DFRN_PROTOCOL_VERSION . '&type=profile');
. '&dfrn_version=' . DFRN_PROTOCOL_VERSION . '&type=profile&sec=1');
}