I have some session variables which get set on page one of my site. I
can set an unset these by passing through a parameter in some URL's.
When the user goes to the second page some checkboxes are checked if
their corresponding session variable is set and has a value of "true".
The problem I have is that if the user unchecks a checkbox before
finally moving to page three (which is perfectly okay for them to do if
they wish) then I need to unset the session variable. It's not a
problem if it goes from unchecked to checked as I can check for the
value of the checkbox in page 3 and if it's set then I can set the
corresponding session variable however as an unchecked checkbox is not
sent through as part of the $_POST array then I obviously can't do a
check for it. What I really need to do is alter the session variable as
soon as they update the checkbox.
Can anyone help? I can kind of think of a solution but it involves
JavaScript (again) but that's a story for a different newsgroup...
Thanks,
Pete.