Create a Login Account

Ask a Question related to Macromedia Dynamic HTML, Design and Development.

  1. #1

    Default Create a Login Account

    Hello everyone

    I create a user login for my site, unfortunately, any user I put in forms
    result in an error page (I mentioned that the user exist in the database). My
    database is in access so I set it up using Microsoft Access with Unicode on the
    Coldfusion site. (I get the message - data source was successfully created)
    Database and the login account was made following these tutorials :

    [url]http://www.communitymx.com/content/article.cfm?cid=A222302CBCA928EB[/url].
    [url]http://www.dmxfire.com/articles/login/[/url]

    Can anyone help me please? Thank you very much in advance.

    Monica T.

    super_monica Guest

  2. Similar Questions and Discussions

    1. Disallowing concurrent login using the same user account
      I would like to prevent someone sharing a login in my .net app but I know that it would know that would be difficult so it would be acceptable to...
    2. How to allow a user account local login to server?
      Hi, I need to allow some local access so they can administer print jobs and print reports from a custom printing app installed on Server 2003. ...
    3. How to login on a SUN machine without any account, any password?
      I was asked to install three sun servers yesterday. All of the servers work very well, and they can boot directly to graphique interface, but i...
    4. Regenerating ASPNET Login Account
      How do you regenerate the ASP_NET login account? The password got changed which hosed everything. I can no longer see my web services and need to...
    5. Setting user account login time restrictions
      Is it not possible to restrict user login times under Windows XP Home? I have kids that I want to force to logoff after a certain time.
  3. #2

    Default Re: Create a Login Account

    Monica,

    Did you enable session management in the Application.cfm file?

    [url]http://www.adobe.com/go/tn_16564[/url]

    --
    Ken Ford
    Adobe Community Expert


    "super_monica" <webforumsuser@macromedia.com> wrote in message
    news:e8bkt6$t1s$1@forums.macromedia.com...
    > Hello everyone
    >
    > I create a user login for my site, unfortunately, any user I put in forms
    > result in an error page (I mentioned that the user exist in the database).
    > My
    > database is in access so I set it up using Microsoft Access with Unicode
    > on the
    > Coldfusion site. (I get the message - data source was successfully
    > created)
    > Database and the login account was made following these tutorials :
    >
    > [url]http://www.communitymx.com/content/article.cfm?cid=A222302CBCA928EB[/url].
    > [url]http://www.dmxfire.com/articles/login/[/url]
    >
    > Can anyone help me please? Thank you very much in advance.
    >
    > Monica T.
    >

    Ken Ford - *ACE* Guest

  4. #3

    Default Re: Create a Login Account

    Can I get more help please? I follow the steps from the link and,
    unfortunately, I still have the same problem, I modify Application.cfm
    (<CFAPPLICATION SESSIONMANAGEMENT="Yes" >), and I still get the error page.
    This is how my Application .cfm (from my folder) looks:


    <cfapplication
    sessionmanagement="yes" >
    <cftry>
    <cfsetting showdebugoutput="no">
    <cfset factory = createObject("java", "coldfusion.server.ServiceFactory")>
    <cfset request.security = factory.securityService>
    <cfset checkSecurity=request.security.RDSSecurityEnabled>
    <cfcatch type="any">
    <cfset checkSecurity="false">
    </cfcatch>
    </cftry>
    <CFAPPLICATION
    SESSIONMANAGEMENT="Yes" >

    <cfif checkSecurity>
    <cfif IsDefined('form.rdspassword')>
    <cfset rdspassword="#form.rdspassword#">
    <cfelseif IsDefined('URL.rdspassword')>
    <cfset rdspassword="#URL.rdspassword#">
    <cfelse>
    <cfabort>
    </cfif>

    <cfif NOT request.security.checkRDSPassword(rdspassword)>
    <cfif NOT request.security.checkAdminPassword(rdspassword)>
    <cfabort>
    </cfif>
    </cfif>
    </cfif>

    I still can find where my mistake is.

    Thx again for your quick response



    super_monica Guest

  5. #4

    Default Re: Create a Login Account

    Try giving the application a name:

    <cfapplication
    sessionmanagement="yes"
    name="myApplication">

    --
    Ken Ford
    Adobe Community Expert


    "super_monica" <webforumsuser@macromedia.com> wrote in message
    news:e8d4jr$n8p$1@forums.macromedia.com...
    > Can I get more help please? I follow the steps from the link and,
    > unfortunately, I still have the same problem, I modify Application.cfm
    > (<CFAPPLICATION SESSIONMANAGEMENT="Yes" >), and I still get the error
    > page.
    > This is how my Application .cfm (from my folder) looks:
    >
    >
    > <cfapplication
    > sessionmanagement="yes" >
    > <cftry>
    > <cfsetting showdebugoutput="no">
    > <cfset factory = createObject("java",
    > "coldfusion.server.ServiceFactory")>
    > <cfset request.security = factory.securityService>
    > <cfset checkSecurity=request.security.RDSSecurityEnabled>
    > <cfcatch type="any">
    > <cfset checkSecurity="false">
    > </cfcatch>
    > </cftry>
    > <CFAPPLICATION
    > SESSIONMANAGEMENT="Yes" >
    >
    > <cfif checkSecurity>
    > <cfif IsDefined('form.rdspassword')>
    > <cfset rdspassword="#form.rdspassword#">
    > <cfelseif IsDefined('URL.rdspassword')>
    > <cfset rdspassword="#URL.rdspassword#">
    > <cfelse>
    > <cfabort>
    > </cfif>
    >
    > <cfif NOT request.security.checkRDSPassword(rdspassword)>
    > <cfif NOT request.security.checkAdminPassword(rdspassword)>
    > <cfabort>
    > </cfif>
    > </cfif>
    > </cfif>
    >
    > I still can find where my mistake is.
    >
    > Thx again for your quick response
    >
    >
    >

    Ken Ford - *ACE* Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139