Solved

I need to create a log-in page for my Site.

Posted on 2004-09-21
6
202 Views
Last Modified: 2010-04-01
I Need to design a Log-In Page that does the following:
Only Allows one log-in per user account.
logs the user's date andtime they logged in, in a separate file.

Can this be done using Front Page or Dreamweaver or should I be looking for another type of software.  Is there somewhere I can find the code and just paste and go?  I'm open to any suggestions...

If I need to use a database with it, will Microsoft Access Work?
0
Comment
Question by:antonyeo
6 Comments
 
LVL 32

Accepted Solution

by:
ldbkutty earned 168 total points
ID: 12118127
some useful codes here:
http://gotocode.com/apps.asp?app_id=3
0
 
LVL 50

Assisted Solution

by:Ryan Chong
Ryan Chong earned 166 total points
ID: 12119850
0
 
LVL 21

Assisted Solution

by:MogalManic
MogalManic earned 166 total points
ID: 12121365
If your only "Database" is the userlist and when they last logged in, an XML file on the server might be simpler than Access.  On the create account page, add a User Node to the userlist.xml file that looks like this:
<userList>
   <user created="09/22/2004 06:00:00">
        <name>MogalManic</name>
        <password>ski</password>  <!--This could be encrypted for security-->
        <lastLogin/>
   </user>
</userList>

When the user logs in, just update the lastLogin node.  The tools you might need to process XML files are the following:
  - JDOM: for loading and parsing XML (www.jdom.org)
  - Jaxen: for quering the XML using XPath (http://jaxen.codehaus.org)

If you don't want to get into XML, then Access would work just as well.  Maybe a little slower, but possibly more scalable if the DB needs grow.
0
 

Author Comment

by:antonyeo
ID: 12134279
Ok I'm working on all comments...
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article outlines why you need to choose a backup solution that protects your entire environment – including your VMware ESXi and Microsoft Hyper-V virtualization hosts – not just your virtual machines.
A professional opinion on which Apple product to buy, and a tidbit about the WWDC.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

825 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question