Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: CGI Session question

by mda2 (Hermit)
on Jun 13, 2005 at 02:38 UTC ( #466037=note: print w/replies, xml ) Need Help??


in reply to CGI Session question

Magog describe a usual work arround CGI/Apache Session used on RT (Request Tracker), one Ticket System used to handle bugs on CPAN modules.

One alternative, if you make a wrapper to autenticate all access is a PATH_INFO adds...

use CGI; my $q = new CGI; my $Key= $ENV{PATH_INFO}; unless ( substr($Key,0,1) eq 'Z' ) { print $q->header, $q->start_form(-action => $ENV{SCRIPT_NAME}."/H" . $ENV{QU +ERY_STRING}), " ... autenticate form ..."; print $q->redirect(); } print $q->header; print " ... autenticated data ... ";

Itīs a prototype idea, donīt checked syntax and correct ENV variables!

Updated: Insert RTīs link

--
Marco Antonio
Rio-PM

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://466037]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2019-12-11 05:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?