ASP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingASP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old July 17th, 2003, 05:21 PM
phototaker phototaker is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: culver City California
Posts: 4 phototaker User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question password/access db/code help

Hello, I seek guidance on how to set up an access database for the sites I design. Our employee site is what I need log-in help on. We have five store employee and one corporate employee locations which all need to be able to log-in to their own page according to where they work. I have set up a log-in page at URL - I want to record in the data base the name, email address and number of times the person comes to the site. I am sure that this is simple but the more I read the more I get confused. I was told by the hosting company that I can just put an access data base on the site and keep track. Please advise me of any direction or advise.

Thanks in advance Richard

Reply With Quote
  #2  
Old July 17th, 2003, 06:05 PM
aspnewbie aspnewbie is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Location: The Great White North
Posts: 361 aspnewbie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 58 m 50 sec
Reputation Power: 7
Send a message via MSN to aspnewbie
Hi Richard,

Set up an access database with a table say you call it tr_user. In that table, have

UserID - autoincrement
FirstName - text (30 characters)
LastName - text (30 characters)
EmailAdress - text (30 characters)
Location - text (30 characters)
Username - text (10 characters)
Password - text (10 characters)
SiteVisits - number

You probably don't need to have anything on your login page other than their username and password. However, you might want to consider creating a register page so they can enter that information themselves or you can do that for them in the database.

Then follow the tutorial on this site under ASP.

http://www.devarticles.com/art/1/120

After the person logs in just write a SQL update statement to update the SiteVisits field for that user by 1.

There are more complex ways of doing this, but I think this should be sufficient for your purpose?

Reply With Quote
  #3  
Old July 17th, 2003, 06:25 PM
phototaker phototaker is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: culver City California
Posts: 4 phototaker User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I guess that the reason I am not getting this is beause I am not sure how to "create a new MS SQL Server database called testdb" or Set up an access database with a table say you call it tr_user."
Is that something I start by creating a page in dreamweaver and if so is it ASP VBScript, ASP.Net C#, ASP.Net VB or what. This programming really makes me feel dumb.
Thanks in advance. Richard

Reply With Quote
  #4  
Old July 17th, 2003, 06:29 PM
aspnewbie aspnewbie is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Location: The Great White North
Posts: 361 aspnewbie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 58 m 50 sec
Reputation Power: 7
Send a message via MSN to aspnewbie
Do you have access to Access?

Cause if you do, all you have to do is open up the program, click on create a blank access database, then click create and click on Create Table in Design view. Fill in the field names, name the table and you're done.

Reply With Quote
  #5  
Old July 17th, 2003, 06:41 PM
phototaker phototaker is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: culver City California
Posts: 4 phototaker User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I guess I don't have it. I did a search and could not find it. I looked online and I guess I will have to buy it or contact our systems administrator to get it. Thanks for finding an answer to my first problem, creating a data base. Hard to create a database if you don't have the software, I guess. Richard

Reply With Quote
  #6  
Old July 17th, 2003, 07:10 PM
aspnewbie aspnewbie is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Location: The Great White North
Posts: 361 aspnewbie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 58 m 50 sec
Reputation Power: 7
Send a message via MSN to aspnewbie
Another option is going with MySQL, an open source database, if your hosting company uses it. Would save you some money.

Reply With Quote
  #7  
Old July 18th, 2003, 10:47 AM
phototaker phototaker is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: culver City California
Posts: 4 phototaker User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thumbs up

I talked with our systems administrator and he says we can use the SQL that we already are paying for. I have been reluclent to ask him to help because he is very busy and this should be simple for me to learn. He is going to sit down with me and work it out. I really do appreciate your reply's and thanks for your time.
Richard

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingASP Development > password/access db/code help


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway