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

I pretty sure I didn't imagine it's existence...

It was a combination of CGIS (which itself is a combination of CGI and CGI::Session) and CGI::Application, but CPAN turns up nothing for me. Google finds several references, but they're all gone on the pages themselves. Did the author pull this for some reason? Or is it standard fare for modules to just disappear?

Replies are listed 'Best First'.
Re: What happened to CGIS::Application?
by xdg (Monsignor) on Jun 26, 2003 at 21:45 UTC

    I saw it too. I suspect it was pulled by the author (SHERZODR -- Sherzod Ruzmetov). However, the author also has CGIS, which looks to be a drop in replacement for CGI.pm that provides the functionality of CGI::Session as well. If I understand things right, that should allow you to override CGI::Application's cgiapp_get_query() method to return a CGIS object instead of a CGI object and all should work as normal, plus giving you access through the query object to CGI::Session methods.

    I haven't tried it, so this is totally theoretical, but I just had the same question myself as I was hunting around trying to learn more about "good" approaches to starting working with CGI::Application.

    Best of luck,

    -xdg

Re: What happened to CGIS::Application?
by PodMaster (Abbot) on Jun 27, 2003 at 00:51 UTC
Re: What happened to CGIS::Application?
by diotalevi (Canon) on Jun 27, 2003 at 03:37 UTC

    I get along just fine without CGIS. Its up to the app to put the session id into any html if that's desired to work around cookieless browsers.

    package Camp; use strict; use warnings; use base qw/CGI::Application/; use CGI::Session; use DBI; ############################## ##### OVERRIDE METHODS ##### ############################## sub setup { my $self = shift; my $q = $self->query; my $dbh = DBI->connect($self->param('DBH_DSN'), $self->param('DBH_USER'), $self->param('DBH_PASS'), $self->param('DBH_OPT')); $self->param( dbh => $dbh ); my $session = CGI::Session->new ( "driver:PostgreSQL", $q, { Handle => $dbh } ); my $session_id = $session->id; $self->param( session => $session ); $self->param( session_id => $session_id ); return; } sub cgiapp_prerun { my $self = shift; my $session = $self->param('session'); my $session_id = $session->id; # Save the session cookie $self->header_props ( -cookie => CGI::Cookie->new( -name => 'CGISESSID', -value => $session_id ) ); return; } sub teardown { my $self = shift; $self->param('session')->flush; $self->param('dbh')->disconnect; return; }
Re: What happened to CGIS::Application?
by Anonymous Monk on Jul 08, 2003 at 04:30 UTC
    I think it was withdrawn/discarded because it really only contained two lines of code viz.:
    require CGI::Application;
    require CGIS;