Method | Description | |
---|---|---|
IncreaseHitCount ( ) : void |
Increase the hit count for this session in a thread-safe way.
|
|
Session ( ) : System |
Creates the first ever session for a Visitor.
|
|
Session ( DateTimeOffset startedAt, int number ) : System |
Create a new session given a specific start time and session number. Used to create the next session.
|
|
Session ( DateTimeOffset startedAt, int number, int hitCount, long hitId ) : System |
Create a new session given all the parameters possible. Used to restore sessions from state before the timeout occurs.
|
public Session ( DateTimeOffset startedAt, int number ) : System | ||
startedAt | DateTimeOffset | When this session started at. |
number | int | Session number. |
return | System |
public Session ( DateTimeOffset startedAt, int number, int hitCount, long hitId ) : System | ||
startedAt | DateTimeOffset | When this session started at. |
number | int | Session number. |
hitCount | int | Number of hits in this session so far. |
hitId | long | Random Id used to ensure any web cache is bypassed. |
return | System |