title: CodeIgniter Session out page display issues
body: <p><img src="https://i.stack.imgur.com/XZ9mZ.png" alt="enter image description here"></p>
  
  <p>I am developing one web site where i used Codeigniter.In that i used Session time out.aftet session time out if i clicked on any button or any window then my login screen appears in that window or div.<br>
  eg.
  if i clicked on my notification box then it appears in that div also,how should i proceed.</p>
  
  <pre><code>$config['sess_cookie_name']     = 'ci_session';
  $config['sess_expiration']      = 7200;
  $config['sess_expire_on_close'] = TRUE;
  $config['sess_encrypt_cookie']  = FALSE;
  $config['sess_use_database']    = FALSE;
  $config['sess_table_name']      = 'ci_sessions';
  $config['sess_match_ip']        = TRUE;
  $config['sess_match_useragent'] = TRUE;
  $config['sess_time_to_update']  = 300;
  </code></pre>
  
  <p>i am able handle session at time of page loading but if session expired after some time from page loaded time then above error occurs then how to trigger session expire event</p>