Hi,
i completely lost on how i could establish the following
On page1.php i would like to have a couple of checkboxes
the checkbox values should initially be storred within a session variable (array)
when the checkbox status changes, these session variable should be updated.
i would like to avoid the "post" method.
many thanks for your advise!
rgds
Patrick
session variable through checkbox without POST
Moderator: General Moderators
Re: session variable through checkbox without POST
Do you want to change the value of session variable when the check box is clicked without posting the form? If yes then u can use ajax. You can call ajax page and on click event of the check box and change the value of session variable on that ajax page.
- aceconcepts
- DevNet Resident
- Posts: 1424
- Joined: Mon Feb 06, 2006 11:26 am
- Location: London
Re: session variable through checkbox without POST
or you could use javascript.
Re: session variable through checkbox without POST
But how will you change the value of session variable thru javascriptaceconcepts wrote:or you could use javascript.