Session management

From PhiWiki
Revision as of 10:42, 29 September 2011 by Schumi (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Phi offers included session support. You find the available parameters in the page settings dialog in the Meta tab. You can define a special page in Redirect, which is loaded if the session is timedout. If you want to set also a session cookie (called phisid) check the Set session cookie box. Session keys are automatically available through $PHIPOST[phisid], $PHIGET[phisid] or if set through $PHICOOKIE[phisid].

See also: document.session, phi.session, Phi variables and Sessions How-To.