in reply to Webserver level authentication?

I would like to suggest you use Embperl for embedding Perl code into your html pages. This tool includes the means for session handling, Form validation, Access to the databases and many another usefull options.
Another tool which is more powerfull and flexible, is Mason. Mason is good choise for development of complicated projects.
      
--------------------------------
SV* sv_bless(SV* sv, HV* stash);

Replies are listed 'Best First'.
Re: Re: Webserver level authentication?
by cfreak (Chaplain) on Apr 30, 2003 at 13:53 UTC

    I'm going to strongly disagree. Embedding code into your formatting is wrong and grossly unmaintable. And it makes writting a 'Web application' more like writting a series of web pages that don't often interact well.

    The original poster is on the right track by using a templating system. It allows for a single program to output the correct code based on its input. I have a feeling that its faster than EmbedPerl or Mason as well.

    To answer the poster's question about sessions, I usually roll my own for flexability purposes. I use MySQL's MD5 function and random data to create keys and just send cookies to the user's browser. I typically create a 'login' module that checks for sessions or displays a User/Pass form. md5_hex() from the Digest::MD5 module can also be used in place of MySQL.

    Lobster Aliens Are attacking the world!
Re: Re: Webserver level authentication?
by PodMaster (Abbot) on Apr 30, 2003 at 22:29 UTC
    Why would you do that?

    You don't see me plugging Everything or Bricolage, or any of a doze other comparable systems. There have been a dozen nodes about which system is better, and why who likes what ... Why not just stick to the question asked?


    MJD says you can't just make shit up and expect the computer to know what you mean, retardo!
    I run a Win32 PPM repository for perl 5.6x+5.8x. I take requests.
    ** The Third rule of perl club is a statement of fact: pod is sexy.