Do one time action after logging in I need to add a Javascript file only once immediately after logging in - which will open another URL in a new window.

Without using _SESSION what'll be the right place to add drupal_add_js function only once after logging in?

Is there a hook which is called in the very first logged-in page?
Add the JS file inside the implementation of hook_user_login().
Function docs:


  The user just logged in.
  Parameters
  
  $edit: The array of form values submitted by the user.
  
  $account: The user object on which the operation was just performed.