Also,
the
4.10
doc
writes:
$session
=
new
CGI::Session(undef,
undef,
{Directory=>'../tmp/sessions'});

I've
tried
"../tmp/sessions"
and
"/tmp/sessions".
Have
never
seen
anything
in
"../tmp/sessions"
(relative
to
"/cgi-bin"
or
DOC
ROOT)
but
I
do
see
sessions
(sometimes)
appear
in
"/tmp/sessions".
Happen
to
know
if
the
syntax
is
relative
(../),
or
absolute
(/)?
Note
that
both
of
these
errors
were
seen
in
4.x.
Never
got
the
3.95
to
save
an
object,
but
just
read
that
it
needs
a
flush().

----------


Well, the flush() solution seems to work, and per the link to a bug in my last email, going to 3.95 appears to remove both issues I had been experiencing. No more directory or session problems.

Once again Perrin, thanks for the feedback that CGI::Session works.


my $cgi = new CGI;

my $session = new CGI::Session(undef, $cgi, {Directory=>'/tmp/sessions'});

$session->expire('+15m');

$session->param('Auth', 'Y');

$session->flush();





__________________________________________________ __________________________________
Looking for last minute shopping deals?
Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsea...egory=shopping