I'm storing the session details from Drupal to share with another system, so users don't have to log in twice for each system.
It appears that my hook_user_login
is being called twice. Right now I'm just calling:
mymodule_user_login(&$edit, $account) {
debug(session_id());
}
to see if the session I'm storing is the same as the session being used.
I'm getting the debug statement twice, with two different session_id
values.
Am I missing something here?