Welcome to WebmasterWorld Guest from 54.162.248.199

Forum Moderators: coopster & jatar k & phranque

Message Too Old, No Replies

file driven logins

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

10+ Year Member



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)

WebmasterWorld Senior Member 10+ Year Member



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)

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



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)

WebmasterWorld Senior Member 10+ Year Member



The code example that NFFC quoted is about right.

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

 

Featured Threads

Hot Threads This Week

Hot Threads This Month