• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 210
  • Last Modified:

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

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?
3 Solutions
some useful codes here:
Ryan ChongCommented:
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:
   <user created="09/22/2004 06:00:00">
        <password>ski</password>  <!--This could be encrypted for security-->

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.
antonyeoAuthor Commented:
Ok I'm working on all comments...
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Tackle projects and never again get stuck behind a technical roadblock.
Join Now