From 512740968f7f09b3901897416ded964f46cb5faa Mon Sep 17 00:00:00 2001 From: nikrou Date: Sat, 11 Feb 2006 13:23:54 +0000 Subject: small modification: we can now store any information in sessions (cf topic:5667) git-svn-id: http://piwigo.org/svn/trunk@1032 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/functions_session.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/functions_session.inc.php') diff --git a/include/functions_session.inc.php b/include/functions_session.inc.php index 03a6dd155..8115c8ef9 100644 --- a/include/functions_session.inc.php +++ b/include/functions_session.inc.php @@ -154,7 +154,8 @@ SELECT id { $query = ' UPDATE '.SESSIONS_TABLE.' - SET expiration = now() + SET expiration = now(), + data = \''.$data.'\' WHERE id = \''.$session_id.'\' ;'; pwg_query($query); -- cgit v1.2.3