public final class Sessions extends Object
Modifier and Type | Method and Description |
---|---|
static PSSession |
getAnonymous() |
static boolean |
isValid(PSSession session)
Indicates whether the session is still valid for the specified session.
|
static void |
setAnonymous(PSSession session)
Setting a reusable session for anonymous users.
|
public static boolean isValid(PSSession session)
session
- The PageSeeder session to check.true
if the session is still valid;
false
otherwise.public static PSSession getAnonymous()
public static void setAnonymous(PSSession session)
session
- a session to use for anonymous connections.Copyright © 2016 Allette Systems. All rights reserved.