|
-
Jul 29th, 2007, 07:22 PM
#1
Thread Starter
Addicted Member
Username Database Help
Hello,
I was wondering, where can I learn how to make a login screen for my applcation that works.
(example: Having a login like a website, but in application)
And if someone could, would you please make me a demo application that has all I need to do it?
-Thanks
Cyberflyz
-
Jul 30th, 2007, 07:27 AM
#2
Re: Username Database Help
Where are you planning on storing usernames and passwords?
Are you going to allow users to create their own names and passwords or will you be assigned them?
-
Jul 31st, 2007, 05:13 PM
#3
Thread Starter
Addicted Member
Re: Username Database Help
I wanted to store the usernames and passwords on a database on my servage hosting account. So that the usernames and passwords would be global. So If i added a chat system, they would all be able to talk to one another.
And I will be allowing users to create their own account.
- Cyberflyz
-
Aug 5th, 2007, 08:14 AM
#4
Addicted Member
Re: Username Database Help
The first thing you need to do is set up a database. What database does you isp provide? mySQL? Sql Server?
Who is your isp?
-
Aug 6th, 2007, 04:51 PM
#5
Thread Starter
Addicted Member
Re: Username Database Help
Thank you very much for helping me out.
My ISP database thing would be....Mysql
And my ISP is Servage (Http://servage.net) That is my webhost.
--Cyberflyz
-
Aug 7th, 2007, 06:35 AM
#6
Addicted Member
Re: Username Database Help
What kind of application are you programming and what are you going to use?
vb net? c#? php?
As for your database, you will first need to know what tools your isp provides for you to create one. Some isp will not let you create the actual database yourself, but will require you to contect thier help desk to create it, others will let you create it directly. Once its created you will need to define what data you want to store in the tables that makes up the database.
Have you ever programmed in a database before?
-
Aug 7th, 2007, 07:08 PM
#7
Thread Starter
Addicted Member
Re: Username Database Help
Ok well, my ISP provides Mysql databases. I create them by just providing a username i want and a password. Then it creates a database call {What Evermy username is} and I connected with the Username I Provided and the password.
I am creating this appliation in VB.net
I have never programmed with Mysql
And the program I am making is just a application you have to register to use. I will be adding a chat type of system to it later.
-
Aug 8th, 2007, 07:13 AM
#8
Addicted Member
Re: Username Database Help
The first thing you need to do is created the actual database. You will need to read your isp help documentation to learn how to do this. Every isp is different. I use Apollo Hosting, under my old plan, I could create the database myself. When I upgraded my plan, I had to go through the help desk. Once my database was created, I was able to connect to the database and create tables with sql.
You need to also find out what version of mySql they have.
It sounds like all you want in the database is a user table. You may want to also stored some additional information beside usercode and password, such as name, email address, date and time you created the user record, maybe an active flag, that you can use to determine if the user is still allowed to use your application, this way you won't have to delete the user to stop them from using your application and you will have a history of past users.
I would post another message to the group asking if anyone has set up a mySql database with "Servage" as part of the message title.
Once you have the database setup, do a search for connecting to mySql. There are a lot of examples in the forums.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|