Distinguishing users?

akaash

Beginner

Posts: 62

Loc: Gujurat,India

3+ Months Ago

I want my perl cgi pages to be accessed by every user having an account on my linux server.Now if simultaneously many users access my cgi pages then is there a way for me to distinguish between different users so that there associated data can be loaded when they login.

stinger

Graduate

Posts: 157

Loc: San Jose, CA

3+ Months Ago

Of course!

I am assuming you want to run a site like excite, where a user logs in, and then they can manipulate what is displayed on their main page.

I would create a database, that holds the user, id, pass, etc. (you could also include all of their preferences, but you may want a separate database for that.)

So your second database would hold a id, thats passed by login page, then their content will be loaded from the second database that will either 'refer' pages to include, or run scripts based on preferences.