#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2000
    Posts
    5
    Rep Power
    0
    I am prototyping a site (using perl CGI and apache) where users will need to authenticate themselves to access a service. I'd like surfers to be able to receive a cookie that will automatically authenticate them on future visits.

    I have created a bare, bare bones example here: http://users2.netassess.ipat.com (you can see the source here: http://users2.netassess.ipat.com/source.txt)

    Here is where I need advice: (1) This tiny bit of functionality takes 255 lines of code! is there a better way I should be heading? (2) It is looking like this choice of authentication will become too central to writing all the code to perform the site's services (e.g., I cannot use plain HTML, everything must be dynamic). Is there a better way? I cannot assume anything esoteric is added to apache (e.g., mod_auth_cookie).

    Your help is appreciated! I am (obviously) still learning, pointers to on-line examples would be really helpful!

    -Alan amead8695@home.com
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2000
    Location
    Montreal, Canada
    Posts
    72
    Rep Power
    14
    Why can't you use something simpler like PHP? If u do, then ur problem is easier.

    ------------------
    Visit my PHP V-Portal.
    http://www.igboryders.com
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2000
    Posts
    5
    Rep Power
    0
    <BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">quote:</font><HR>Originally posted by Uchechi:
    Why can't you use something simpler like PHP? If u do, then ur problem is easier.
    [/quote]

    Can you elaborate? I know just a bit about php. Maybe it's just the thing.. But how exactly would it make the problems easier?

IMN logo majestic logo threadwatch logo seochat tools logo