Page 1 of 1

login System

Posted: Fri Feb 12, 2010 1:49 pm
by bsouthuk
Hi, wonder id someone can help

I've built an application using Studio and am looking to build a login system for it. Obviously users will have to enter their username and password to access the application.

It's also important for me to know as to when users are logged in and when they have logged in and out throughout the day.

I understand this is quite a big job and dont expect anybody to reply with instructions and scripts to build the login system. However, if anybody could point me in the right direction, any tutorials, etc then i would most appreciate it.

Cheers

Dan

Re: login System

Posted: Fri Feb 12, 2010 2:33 pm
by BvG
Most likely you are thinking about saving data on a remote computer. The easiest way (from a scripting perspective), is to use a cgi app that runs on an apache server. However, this can be tricky to set up. Another way is to make a rev stack that acts like a http server, or to create a full client-server protocol. Theoretically you could also depend on windows file sharing, and just save stuff on the network directly. However, my experience is that windows file sharing is failing quite regularly. Or you can depend on FTP and save/read files on a ftp server.

As for things to look into, try revOnline. There's quite a few stacks there that show server or client implementations. You can access it from the IDE Button bar. I have made a bare bones http server stack, and maybe that could be a starting point for you.

Another resource is the lessons center, for example this one about using FTP.


If you're more inclined to learn stuff yourself, try these entries in the dictionary (and their "see also"!):

open socket
accept
url (like: put url ("http:/internal_server_for_login")
libURLFTPuploadFile
(i'm sure there's more that i forgot about)

Re: login System

Posted: Fri Feb 12, 2010 2:45 pm
by bsouthuk
Excellent, thank you very much for this information

Daniel