We need you!

We're working hard on the next version of Developer Fusion. Let us know what you think we should be up to!

Members

Technology Zones

Articles

Hosted By

MaximumASP

Info

[1744] Creating a Members Area in ASP

Last post 05-11-2007 6:48 AM by shawne. 135 replies.
Page 1 of 10 (136 items) 1 2 3 4 5 Next > ... Last »
Sort Posts: Previous Next
  • 01-01-1999 12:00 AM

    [1744] Creating a Members Area in ASP

    This thread is for discussions of Creating a Members Area in ASP
    • Post Points: 360
  • 10-31-2001 12:25 AM In reply to

    • mafifi
    • Not Ranked
    • Joined on 10-24-2001
    • New Member
    • Points 10

    Error Message

    I have been getting the following error:

    The following errors occured:
    - An error occured. -2147217900 : Syntax error in INSERT INTO statement.
    • Post Points: 0
  • 10-31-2001 5:07 PM In reply to

    Brackets

    Hi,

    I had the same problem and found out that it may a problem with reserved words, although I cannot find 'username' or 'password' in the reserved word list for 'MS Access' in my case. The solution is to place [ ] around the field names in the SQL statement.
    • Post Points: 0
  • 10-31-2001 6:02 PM In reply to

    • James Crowley
    • Top 10 Contributor
    • Joined on 12-07-2000
    • United Kingdom
    • Guru
    • Points 14,850
    • SystemAdministrator
    Thanks for pointing that out... as I work almost entirely with SQL Server, I forget about things like that... ;-) I have added the []'s around username and password
    • Post Points: 0
  • 11-01-2001 12:31 AM In reply to

    • mafifi
    • Not Ranked
    • Joined on 10-24-2001
    • New Member
    • Points 10

    msado21.tlb

    Anyone knows what this file is or does (msado21.tlb). It's part of NT4 IIS4. All I know that it has something to do with Global.asa files and SQL databases.
    C:\Program Files\Common Files\System\ADO\msado21.tlb

    Thanks,

    Mo
    • Post Points: 0
  • 11-07-2001 3:47 PM In reply to

    • James Crowley
    • Top 10 Contributor
    • Joined on 12-07-2000
    • United Kingdom
    • Guru
    • Points 14,850
    • SystemAdministrator
    If you are writing a program/dll in VB/C++ etc you can reference that type library which makes it easy to use Microsoft ADO etc....

    In Active Server Pages, you create an ADO object by using Server.CreateObject("ADODB.Connection") or whatever..
    • Post Points: 0
  • 11-12-2001 7:02 PM In reply to

    • andram1
    • Not Ranked
    • Joined on 11-12-2001
    • New Member
    • Points 5

    error 222

    Hello. I tried your code for the member's only site, and it works nice, I'm having some trouble though with one aspect of it. The code says if error 222 happens, then the user would be prompted with the error message that the username in already in use, I tested it, registering one username with a password, then registering that same username again. It should've not let me register that name, but it let it go, registering the user, basically, its not checking to see if a user already existst with that name.
    • Post Points: 0
  • 11-24-2001 3:54 PM In reply to

    Code does not work!

    I tried this code and it does not work for me. I am using Brinkster.com web hosting, with ASP/ASP.net(ASP 3.0).

    Here are the problems I am experiencing:

    1. Register.asp allows me to register duplicate usernames, with NO error messages.
    2. Even after I register, and login.. i am not taken to the members page. No matter what I do, it says, invalid username/password!!

    Please test it out!
    Here is the address: http://www25.brinkster.com/urbanaffilntwrk/register.asp

    Please help!

    djfinesse_215@yahoo.com
    • Post Points: 0
  • 11-24-2001 9:24 PM In reply to

    Steps to create members area!

    Here's my sql statment to my Access Database to create my table for members:
    CREATE TABLE members
        (id AUTOINCREMENT PRIMARY KEY,
         [username] char(20),
         [password] char(20))

    This creates the table successfully.

    Step one is fine!

    • Post Points: 0
  • 11-24-2001 9:56 PM In reply to

    Registration problems

    After i register, I get taken to the login page.. then it never lets me log in, sayin that invalid user/password!!

    I just ran a query on the db and all the info was there. I am puttin in the right info, but it neveer takes me to the member page!!!!

    Please help!!!

    I really need this member section!!!
    • Post Points: 0
  • 11-25-2001 9:05 AM In reply to

    Error 500?

    Okedoke, I made a table in MS Access, uploaded it to my db directory. I am almost positive everything is right in the inc-connection.asp file. When I go to registration page, I get a Error 500 Internal Server error. It also takes a while to "open the page". Can you fill me in here anyone? I am using Brinkster.com
    • Post Points: 0
  • 11-25-2001 1:34 PM In reply to

    • James Crowley
    • Top 10 Contributor
    • Joined on 12-07-2000
    • United Kingdom
    • Guru
    • Points 14,850
    • SystemAdministrator
    On what line does the error occur? (you may need to enable server-side debugging from the IIS console)
    • Post Points: 0
  • 11-25-2001 9:26 PM In reply to

    • James Crowley
    • Top 10 Contributor
    • Joined on 12-07-2000
    • United Kingdom
    • Guru
    • Points 14,850
    • SystemAdministrator
    Are cookies enabled? You must have cookies enabled in order to be able to login.
    • Post Points: 0
  • 11-26-2001 5:07 AM In reply to

    Yes, cookies are enabled!

    Yes, cookies are enabled on every browser that has tried the script. It is just not working. I just tried it another machine and it still does not work.

    Finesse
    • Post Points: 0
  • 12-03-2001 6:40 PM In reply to

    I found out!

    James Crowley said:
    Quote:
    Are cookies enabled? You must have cookies enabled in order to be able to login.


    It doesn't work because they don't support session variables for general membership.

    Ok.

    Finesse
    • Post Points: 0
Page 1 of 10 (136 items) 1 2 3 4 5 Next > ... Last »