I'm using the simpleSAMLphp module which redirects the user offsite to login and then hits them back to drupal in a logged in state, but for some reason the sessions aren't getting applied. When the user closes the browser it causes the user to be logged out.
But when I login via the drupal login page, the user session persists even if the browser is closed.
What function should I look for in the simpleSAMLphp module where it logs the user in?
What might I need to know or edit to make a assign a session time to a user?
Is the session information stored in the $user variable and can I manipulate it from there? or is it a database edit?