Distinguishing users?

  • akaash
  • Beginner
  • Beginner
  • akaash
  • Posts: 62
  • Loc: Gujurat,India

Post 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.
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • stinger
  • Graduate
  • Graduate
  • stinger
  • Posts: 157
  • Loc: San Jose, CA

Post 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.

You can do pretty much anything you cna think of. Colors, urls, quick links, email addresses, included news pages, search bars etc. . . .

You can also load a admin option for modding folders/files.

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 142 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.