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

Ok, I finally got my Apache::Session::MySQL fixed, at least it is maintainting the session data with each page.

Now my question is this.

using CGI::Session, you can do this:
$session->clear(["_IS_LOGGED_IN"]);

That would not delete the cookie, or any other variable stored in the cookie, except the variable _IS_LOGGED_IN can Apache::Session::MySQL do something like that?

If so, how would I do it?

thx,
Richard

Replies are listed 'Best First'.
Re: Session Control...
by PodMaster (Abbot) on Jan 08, 2003 at 08:34 UTC
    The Apache::Session documentation is pretty short.

    Apache::Session uses a tied %HASH, so just use it like a hash.

    `perldoc -f delete'.

    It has nothing to do with cookies or CGI objects and such.


    MJD says you can't just make shit up and expect the computer to know what you mean, retardo!
    ** The Third rule of perl club is a statement of fact: pod is sexy.