Ask a Question related to Macromedia Dynamic HTML, Design and Development.
-
super_monica #1
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
-
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... -
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. ... -
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... -
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... -
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. -
Ken Ford - *ACE* #2
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
-
super_monica #3
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
-
Ken Ford - *ACE* #4
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



Reply With Quote

