Hi,
in a custom module (on Drupal7) I'm using an hook_menu that authenticates the user using the function:
$form_state['uid'] = $uid;
user_login_submit(array(), $form_state);
If the function is successful then the user is logged into the site.
When the user logs in this way, does the user session expire after a certain period?
Is there a way to change this "expiration time"?
Thank you very much
Claudio