Ignore:
Timestamp:
Jan 15, 2006, 2:45:42 PM (18 years ago)
Author:
nikrou
Message:

Improve security of sessions:

  • use only cookies to store session id on client side
  • use default php session system with database handler to store sessions on server side
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/picture_modify.php

    r825 r1004  
    196196  array(
    197197    'U_SYNC' =>
    198       add_session_id(
    199198        PHPWG_ROOT_PATH.'admin.php?page=picture_modify'.
    200199        '&image_id='.$_GET['image_id'].
    201200        (isset($_GET['cat_id']) ? '&cat_id='.$_GET['cat_id'] : '').
    202         '&sync_metadata=1'
    203         ),
     201        '&sync_metadata=1',
    204202   
    205203    'PATH'=>$row['path'],
     
    231229 
    232230    'F_ACTION' =>
    233       add_session_id(
    234231        PHPWG_ROOT_PATH.'admin.php'
    235232        .get_query_string_diff(array('sync_metadata'))
    236         )
    237233    )
    238234  );
Note: See TracChangeset for help on using the changeset viewer.