blob: 635889bdc19b223dac4e4e8645a7078c188bb101 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#include "sessionContainer.h"
#include "environment.h"
SessionContainer::SessionContainer()
{
}
SessionContainer::~SessionContainer()
{
}
SessionPtr
SessionContainer::GetSession(UUID & id)
{
SessionPtr s = getSession(id);
s->ExpiryTime(time(NULL) + Environment::getCurrent()->sessionTimeOut);
return s;
}
|