Hi,
I am having a spot of bother with the use of $_SESSION. They are gernally working absolutely fine with one exception.
On my form I have a capthca security image, when this image is built is stores the value in a $_SESSION variable. When the user types the security code into the box the onchange event calls my javascript function. This in turn calls a PHP page. It's an AJAX thing which is also generally working fine.
The trouble is that I want to check what the user has entered against what is stored in the $_SESSION and the $_SESSION is empty at this point in the process.
Every PHP page involved has session_start(); at the very top of it.
Does anyone have any idea where the $_SESSION is going? The aim of this is to be able to validate the security image in the same way as the rest of the form - client side using AJAX before submission when the data will be checked again and a checksum will be used.
The form, and indeed the whole site, is still in development but can viewed if that helps.
Any details entered in the form will not be stored anywhere. I haven't got to that part yet.
Many thanks
nathj