A simple site on xampp to test php sessions :
- 1th page : the user writes his/her name in a simple form (method post) and goes to 2nd page
- 2nd page : session works all right- the session echoes the user name from the form, and sends the user to 3rd page
- 3rd page : at the beggining of the the code
<?php session_start(); ?>
but it doesn't always work.
when i'm tring to echo
the user name again at 2nd page, it always gives me the error:
" Undefined variable: _session ... "
what can i do ? thanks :-)