"David R. Saunders" wrote:
>
> > "David R. Saunders" wrote:
> > >
> > > Folks,
> > > I'm running:
> > >
> > > Solaris 2.6
> > > Perl 5.005_03
> > > Apache-Session-1.04
> > > HTML_Embperl-1.2b10
> > >
> > > and I'm trying to use Apache::Session::File ... I have this test program:
> > >
> > > #!/usr/local/perl5.005_03/perl
> > > use Apache;
> > > use Apache::Session::File;
> > > my $id = 1;
> > > my $opts = { Directory => '/tmp' };
> >
> > my $opts = { Directory => '/tmp', NSems => 16 };
> >
> >
> > -jwb
>
> Ok, this fixes the error message, but now I get a new one:
>
> Object does not exist in the data store at ... Apache/Session/FileStore.pm
> line 85.
I assume that you don't have a file /tmp/1 that is a Perl Storable serialized
object. Try reading the fine manual with 'perldoc Apache::Session'. You can
only open session files that already exist. If you want a new one, $id should
be undef.
Cheers,
Jeffrey