Session starter : session_start « Cookie Session « PHP
- PHP
- Cookie Session
- session_start
Session starter
<?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>
Related examples in the same category