remember me" value

  • Thread starter Thread starter Anonymous
  • Start date Start date
A

Anonymous

Guest
hi
How do you pass a "remember me" value through as hidden, so it is always checked, but you cannot see it.
 
you could use PHP's sessions.

OR

use the following method:
<input type="hidden" name="hiddenfieldname" value="<? echo $_POST['hiddenfieldname'];">

This would then be submitted with each page of the form, but you would need to put that code on every page you used.

Andrew
 
It depends on how the script checks to see whether or not the box is checked. Many just check whether it has a value, so as long as you pass a hidden field with a value, the script will interpret it as "checked".
 
Back
Top