Changeset 1032


Ignore:
Timestamp:
Feb 11, 2006, 2:23:54 PM (18 years ago)
Author:
nikrou
Message:

small modification: we can now store any information in sessions
(cf topic:5667)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/functions_session.inc.php

    r1029 r1032  
    155155    $query = '
    156156UPDATE '.SESSIONS_TABLE.'
    157   SET expiration = now()
     157  SET expiration = now(),
     158  data = \''.$data.'\'
    158159  WHERE id = \''.$session_id.'\'
    159160;';   
Note: See TracChangeset for help on using the changeset viewer.