Creates a new persistent login for a customer, based on the attributes defined in the session policy.
Syntax
PersistentLogin
createPersistentLogin
(
final long
customerId
,
final boolean
bindToResponse
,
final long
callerId
) throws SessionException
Parameters
-
customerId –
-
bindToResponse –
whether to bind this persistent login to the http response -only works if we are currently processing an http request
-
callerId –
Returns
the newly created login
Usage
the newly created login