Changeset 6049 in subversion


Ignore:
Timestamp:
Apr 7, 2012 2:25:21 PM (14 months ago)
Author:
thomasb
Message:

Reset IP stored in session when destroying session data (#1488056)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/program/include/rcube_session.php

    r5898 r6049  
    66 |                                                                       | 
    77 | This file is part of the Roundcube Webmail client                     | 
    8  | Copyright (C) 2005-2011, The Roundcube Dev Team                       | 
     8 | Copyright (C) 2005-2012, The Roundcube Dev Team                       | 
    99 | Copyright (C) 2011, Kolab Systems AG                                  | 
    1010 |                                                                       | 
     
    384384  { 
    385385    $this->vars = false; 
     386    $this->ip = $_SERVER['REMOTE_ADDR']; // update IP (might have changed) 
    386387    $this->destroy(session_id()); 
    387388    rcmail::setcookie($this->cookiename, '-del-', time() - 60); 
Note: See TracChangeset for help on using the changeset viewer.