Confirmed users
134
edits
No edit summary |
Stomlinson (talk | contribs) |
||
Line 43: | Line 43: | ||
[Constructor] | [Constructor] | ||
interface Session { | interface Session { | ||
attribute string | attribute string email; | ||
attribute string status; | attribute string status; | ||
attribute object bound_to; | attribute object bound_to; | ||
Line 69: | Line 69: | ||
// Every page within domain must redeclare navigator.id.sessions | // Every page within domain must redeclare navigator.id.sessions | ||
navigator.id.sessions = [{ | navigator.id.sessions = [{ | ||
email: 'poohbear@ashdownforest.gov.uk' | |||
}]; | }]; | ||
Line 75: | Line 75: | ||
// No other page within domain needs to declare navigator.id.sessions | // No other page within domain needs to declare navigator.id.sessions | ||
navigator.id.sessions = [{ | navigator.id.sessions = [{ | ||
email: 'yogibear@jellystone.nps.gov', | |||
bound_to: { | bound_to: { | ||
type: 'cookie', | type: 'cookie', | ||
Line 81: | Line 81: | ||
} | } | ||
}]; | }]; | ||
===Session Redeclaration=== | ===Session Redeclaration=== |