save login information in cookie
Posted: Sun Dec 09, 2007 2:50 pm
Cookies are already used to save information such as the group information, and it would be nice to add a checkbox to the login screen to allow a cookie to save the login information from computers (like my home computer and my phone) which I feel are secure. When the login information is saved, the login screen would then be bypassed entirely.
For what it's worth, I see the setcookie() function in zm_actions.php, but I'm not much of a web developer so I'm having trouble figuring out where to call that to save the login or where/how to use it once it is saved (presumably somewhere between zm_html.php and zm_html_view_login.php). I do see that zm_html_view_login.php will put a username into the field if "isset($username)" but that appears to only get set from REMOTE_USER which I also don't understand.
I'll keep trying to figure this out for myself and post the results if I can, but a few pointers from a web/php developer would be helpful. Thanks.
For what it's worth, I see the setcookie() function in zm_actions.php, but I'm not much of a web developer so I'm having trouble figuring out where to call that to save the login or where/how to use it once it is saved (presumably somewhere between zm_html.php and zm_html_view_login.php). I do see that zm_html_view_login.php will put a username into the field if "isset($username)" but that appears to only get set from REMOTE_USER which I also don't understand.
I'll keep trying to figure this out for myself and post the results if I can, but a few pointers from a web/php developer would be helpful. Thanks.