title: How to access session variable in other file
body: <pre><code># Object initialization:
  use CGI::Session;
  
  $session = CGI::Session-&gt;new();
  
  $CGISESSID = $session-&gt;id();
  
  # Send proper HTTP header with cookies:
  
  print $session-&gt;header();
  
  # Storing data in the session:
  
  $session-&gt;param('User_id', 'U00002');
  </code></pre>
  
  <p>This script is written in some file say abc.pl.</p>
  
  <p>Now I want access the User_id in some other perl file, say xyz.pl.
  How to do that?
  Do I need to make any change in this script?</p>