Hi,
Sorry, I didn't read your code carefully enough.
# Check to see if we have a session. If so, load it's information.
# If not, we need to create one and then cookie the user.
#### JJ comment
#### 'my' makes this lexically scoped
#### change to 'our' or $::session to be visible
#### in other scopes
my $session = new CGI::Session("driver:DB_File", $cgi, {Directory=>'/u
+sr/local/apache/htdocs/addressbook'});
# Init the logger
Log::Log4perl->init("/usr/local/apache/htdocs/addressbook/log4perl.con
+f");
you need to change
my $session to something package scoped, like
$::session. Then, it's somewhat of a global variable, so be carefull.
- j