PHP Session et Cookies: Exemple d’utilisation de session_start()

 
<?php session_start(); ?>
<html>
 <head>
  <title>Session starter</title>
 <head>
 <body>
 <a href="next.php?<?php echo( SID ); ?>">Next page</a>
 <hr>
 PHPSESSID = 
 <?php 
  echo ( session_id() ); 
 ?>
 </body>
 
</html>
  
  

Be the first to leave a comment. Don’t be shy.

Join the Discussion

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>