Zend PHP 5.3 Certification Exam

1 2 3 4 5 6
  • Question 4/6

    Session fixation - a commonly-used session-based attack - can be prevented simply by giving a user a new session ID whenever they obtain a new level of permission on a site (for instance, after they successfully login).

    Which PHP function is used to change the ID for an active session?