Welcome to WebmasterWorld Guest from 54.196.144.242

Forum Moderators: coopster & jatar k & phranque

Message Too Old, No Replies

file driven logins

     

shakes911

10:01 am on Mar 2, 2001 (gmt 0)

Inactive Member
Account Expired

 
 


ok, i've created a text file in which to store usernames and passwords (not able to use a database). Now I'm having trouble writing an ASP login authentication script which searches through the user file and authenticates the username and password accepted from a form.

I've tried using a do while file.AtEndOfStream loop but this doesn't seem to work. Any Ideas?

Thanks

9:35 am on Mar 3, 2001 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:July 6, 2000
posts:904
votes: 0


I'm no ASP expert, but I'll ask around and see if anyone can help.

(BTW: Xoc - any ideas?)

12:41 pm on Mar 3, 2001 (gmt 0)

Senior Member

WebmasterWorld Senior Member nffc is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:June 22, 2000
posts:3604
votes: 0


Seems like you are on the right track, have a look at the example code here [planet-source-code.com].

>not able to use a database

Why?

Xoc

11:39 pm on Mar 4, 2001 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Jan 18, 2001
posts:1437
votes: 0


The code example that NFFC quoted is about right.

Of course, if I were doing it, I'd use XML, but that's me. :)