How do I maintain session variables in php?

jamie m

New member
I have both html and php files in the website, but the html seems to destroy the session variable $user which is the name assigned to a user once they login.

I have embedded

<?php
session_start();
?>

in every html page as well as just session_start(); in every php page

Any ideas?

Thanks!
 
Back
Top