<cfparam name="session.allowin" default=0>
AND
<cfset session.allowin = "True"> to <cfset session.allowin = 1>
AND
<cfif session.allowin neq "true"> to <cfif not session.allowin>
I always like to stick with good ole 1s and 0s when making these sort of
comparisons. It eliminates a lot of possible mistakes like needing to
trim the variables... Just give it a shot and see if it helps you to
track down the issue.
--Ferg
_____
From: Les Mizzell [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 24, 2004 11:59 PM
To: CF-Talk
Subject: Login a User Problem - code not in email body....couldn't post
message with it...
This *has* to be something with the Cold Fusion Admin on this particular
server, but I'm at a loss.
I'm using the same code (grabbed from somewhere...) on a number of sites
(not on the server in question) and it's working fine. However, on this
ONE Server - running CFMX...
I'm using a typical login page at the site root level. What's happening
is that the recordset finds the user - the code runs on the processing
page, and I get the alert saying that the user is logged in.
Then, as soon as the code hits the "self.location="idx_admin.cfm";"
block on line 8 of the processing page and it tries to redirect, I'm
kicked right back out to the login page with the "not authorized"
message in the Application.cfm file.
So, it seems to be loggin someone in, and then logging them right back
out again. Ideas?
Code is here in a text file.
http://www.columbiacityjazz.com/loginproblem.txt
I've tried posting this message several times with the code in the body
and it refuses to post...
_____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

