Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

Laravel: Session message exist while click on browser back button

// Add the following code to your view (blade)
// It will set headers to NOT cache a page
<?php
  header("Cache-Control: no-store, no-cache, must-revalidate, max-age=0");
  header("Cache-Control: post-check=0, pre-check=0", false);
  header("Pragma: no-cache");
?>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Session #message #exist #click #browser #button
ADD COMMENT
Topic
Name
3+9 =