homepage Welcome to WebmasterWorld Guest from 54.205.144.54
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / Perl Server Side CGI Scripting
Forum Library, Charter, Moderators: coopster & jatar k & phranque

Perl Server Side CGI Scripting Forum

    
file driven logins
shakes911




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

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

 

sugarkane




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

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

(BTW: Xoc - any ideas?)

NFFC




msg:435277
 12:41 pm on Mar 3, 2001 (gmt 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




msg:435278
 11:39 pm on Mar 4, 2001 (gmt 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. :)

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Perl Server Side CGI Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved