Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using files in CGI applications

Status
Not open for further replies.

sam16

Programmer
Apr 12, 2006
1
KE
I am currently developing a CGI application, and i want to make a login screen...
There is no high security needed and i want to use 2 plain text files to store the usernames and passwords, but i have a problem loading them..
I tried using Tstrings, Tlistbox and Tstringlist, but they all don't seem to work...

Does anyone have any ideas on how to solve this??
 
If you are building a browser application, then you need to use HTML forms, so tlistbox won't work. You can store usernames in a database file, but to handle the security you could uses cookies to store user details for a specified period (the length of a working day?) so they don't have to constantly log on again.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top