Am I correct to use a PHP session to persist data between forms? -
this question has answer here:
just quick question.
i have form captures bit of data, validates , posts page on same site. i'm using header() redirect if there no errors, data not sent in post.
would correct use session persist data between 2 pages?
thanks guys.
if need data on second page , if data not sensitive, might pass data in header().
$url = "www.example.com?variable=value&id=something"; i.e. header('location: $url');
Comments
Post a Comment