Voting

Please answer this simple SPAM challenge: max(four, eight)?
(Example: nine)

The Note You're Voting On

jp at webgraphe dot com
14 years ago
A call to session_write_close() before the statement

<?php
    header
("Location: URL");
    exit();
?>

is recommended if you want to be sure the session is updated before proceeding to the redirection.

We encountered a situation where the script accessed by the redirection wasn't loading the session correctly because the precedent script hadn't the time to update it (we used a database handler).

JP.

<< Back to user notes page

To Top