Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: ISO user-registration package

by stonecolddevin (Parson)
on Apr 06, 2007 at 21:14 UTC ( [id://608762]=note: print w/replies, xml ) Need Help??


in reply to ISO user-registration package

I'm not so sure you'd be reinventing anything here, seeing as how user registration can be pretty specific from site to site.

You'll end up doing a lot of HTML customization to get the information you need, and you'll have to set up the database tables respectively, then write the proper perl code to handle form validation, missing fields, data processing, CAPTCHAs, etc.

Sounds to me like it'd be easier to do yourself from scratch.

meh.

Replies are listed 'Best First'.
Re^2: ISO user-registration package
by argv (Pilgrim) on Apr 07, 2007 at 18:03 UTC
    I built mine from scratch, and it's not architecturally complicated. For the user login/password, I have a small Storable file that keeps the login/passwd data. I have a simple login page that, upon submit, checks against the fields of the form. If login params match an entry, I create a session-data cookie and place it on the browser. I then create a filename (again, a Storable that holds a hash of the user's ID and any other data I want to hold. cgi scripts check the session-data hash object for info to see if the user is who he says he is, or other data I may log about him.

    but the thing that I'm finding particularly annoying these days is the growing percentage of browsers that don't have cookies turned on. This is especially the case for IE7 with its default security setting having cookies off. (Or, so it seems.) The problem here is that it's not possible to implement shopping cart stuff or other session-tracking activities (for the user's benefit) using session data. I have to start passing data around in form post params, which means they have a single thread of actions that must be taken, or I lose track of what they have.

    I get around 15-20K visitors a day to my site, and I'd say a good 30% or more don't have cookies on.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (4)
As of 2024-04-19 01:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found