I have a problem with session variables from a form field to another page. I use Dreamweaver PHP mysql and extensions Impakt. I find the session variable are not passed to the next page. However, if I submit and don't fill in all the "Required" fields in the form, and then fill in the fields and resubmit the page, then it does actually work.
I have<?php session_start();?> at the the top of each page
my form field is called 'contact' and I am using this
<?php $contact=$_SESSION['ss_contact']; $_SESSION['ss_contact'] = $_POST['contact'];?>.
This code is located just after the </form> tag I have tried moving it to other locations but have not had any luck.