in reply to Re: Re: CGI::Session - trouble passing variables
in thread CGI::Session - trouble passing variables

You're not trying to pass $session through the form right? You're supposed to retrieve the session using $session = CGI::Session->new('driver:File',$sid,{Directory=>'/blah'};. Only the session id should be passed to the page.

antirice    
The first rule of Perl club is - use Perl
The
ith rule of Perl club is - follow rule i - 1 for i > 1

Replies are listed 'Best First'.
Re: Re: Re: Re: CGI::Session - trouble passing variables
by Lori713 (Pilgrim) on Mar 02, 2004 at 12:19 UTC
    Actually, I've tried it several ways... passing each, passing both, not passing any, not passing one or the other...

    I also tried putting the retrieval code at the top of the next .pl so it would pull the session ID. It keeps coming back as "1" (which my guess would be that means "true" or "false".

    Thanks for everyone's replies. Unfortunately, I am running out of time and have opted to go with an uglier method just so I can meet my deadline (well, actually, the deadline was February 1st) as best I can. I hope to get back to it after the crunch of user testing and see if I can figure out a cleaner, more maintainable code.

    I appreciate everyone's help!

    Lori