19 dataPtr->
id=QUuid::createUuid().toString().toLocal8Bit();
21 qDebug(
"HttpSession: created new session data with id %s",
dataPtr->
id.data());
64 oldPtr->
lock.lockForRead();
67 qDebug(
"HttpSession: refCount of %s is %i",oldPtr->
id.data(),oldPtr->
refCount);
69 oldPtr->
lock.unlock();
90 qDebug(
"HttpSession: deleting data");
159 QMap<QByteArray,QVariant> values;
void remove(const QByteArray &key)
qint64 getLastAccess() const
void set(const QByteArray &key, const QVariant &value)
QMap< QByteArray, QVariant > getAll() const
QMap< QByteArray, QVariant > values
HttpSession(bool canStore=false)
QVariant get(const QByteArray &key) const
HttpSession & operator=(const HttpSession &other)
HttpSessionData * dataPtr
bool contains(const QByteArray &key) const