awohld has asked for the wisdom of the Perl Monks concerning the following question:

I'm using CGI::Session::Auth::DBI wich is a DBI extension to CGI::Session::Auth

I see you use the sessionCookie() to help you mantain persistence.

How do you apply it to maintain persistence across multiple pages?

  • Comment on CGI::Session::Auth::DBI and maintaining persistence across multiple page requests.

Replies are listed 'Best First'.
Re: CGI::Session::Auth::DBI and maintaining persistence across multiple page requests.
by arkturuz (Curate) on May 18, 2006 at 08:38 UTC
    From the docs you mentioned:
    sessionCookie() For the session to be persistent across page requests, its session ID +has to be stored in a cookie. This method returns the correct cookie +(as generated by CGI::cookie()), but it remains the duty of the CGI a +pplication to send it.
    Notice the last line, and read the documentation for using cookies in CGI from a CGI module.