I'm curious as to how exactly you're storing the values returned by your
forms into the session variables... could you send the list the code that
actually does the session var assignment?
nik
-----Original Message-----
From: paul_eaton@e... [mailto:paul_eaton@e...]
Sent: Monday, December 03, 2001 2:58 PM
To: professional php
Subject: [pro_php] Re: Unwanted variable persistence when using
checkboxes
I've just been investigating this further and found that the same thing
happens with text entry areas too:-(
There must be a simple way to stop it from happening (I hope)
Paul.
> Hi,
>
> I posted this query on beginning_php with no response so I thought I'd
> give the pros a try - here's hoping.
>
> I have a number of checkboxes in a form that I am creating and I am
> experiencing trouble clearing an option once it has been selected once.
I
> am using sessions to give my data the persistence it requires to get to
> the end of the form and after the last page I am echoing all of the data
> as a final check. I then find that if I go back and uncheck one of the
> boxes it still reports that it is checked at the end. Does anyone know
of
> a way round this?
>
> TIA,
>
> Paul Eaton.