Tobias Hoellrich wrote:
I wanted to trap non-existant session-id's by bracketing the
tie %{$href}, 'Apache::Session::DBI', $id,
{
DataSource = 'dbi:mysql:sessions',
UserName = 'db_user',
Password = 'db_passwd'
};
with an eval { }; block. Once I've done this and
I wanted to trap non-existant session-id's by bracketing the
tie %{$href}, 'Apache::Session::DBI', $id,
{
DataSource = 'dbi:mysql:sessions',
UserName = 'db_user',
Password = 'db_passwd'
};
with an eval { }; block. Once I've done this and send a non-existant
session-id I get