Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
jgrantham #1
Cookis Problems
I have the following code in my page:
<cftry>
<cfldap action="QUERY"
name="auth"
attributes="cn"
start="cn=users,dc=dummyDomain,dc=com"
server="server.dummyDomain.com"
username="dummyDomain\#form.uid#"
password="#form.password#">
<cfset isAuthenticated="yes">
<cfcookie name="Authenticated" value="Yes" expires="#DateAdd('H', 5,
Now())#">
<cfcatch type="ANY">
<cfset isAuthenticated="no">
</cfcatch>
</cftry>
<cfif isAuthenticated EQ "no">
<cflocation url="is_login.cfm">
<cfelse>
Then I have the page as I want it to display. My question is that the cookie
is evidently not ever getting set. How can I use a cookie on this page so that
everytime the page loads it doesn't go to the login page? I want to use LDAP
login to secure this page. Preferably I would also like to narrow it down to a
specific group also.
Thanks for any help.
jgrantham Guest
-
problems with 8.0 Rc4
I've been trying to check that my current application working on postgres 7.4 will work with 8.0. I've not checked the application yet but I'm... -
problems with preLoadNetThing and fileName (was problems with preLoadNetThing and importFileInto)
You don't want to leave the QT member in your cast when you publish your movie - it's not really there, it's linked. When you run the movie it will... -
IE6 problems
I have a login script to a website where a user logs in through a standard webform with a username and password that needs to be validated. My... -
I having problems with IIS
I just tried to view a page that I had earlier on my own personal web site and was not able to view it. I then tried just plain old localhost and... -
Why am I Having Problems ?
On 8/2/03 1:08 PM, in article 6TUWa.216121$o86.33889@news1.central.cox.net, "Spam@markris.com" <Spam@markris.com> wrote: A Relationship requires... -
zoeski80 #2
Re: Cookis Problems
Hi
I have found that if you set a CFCOOKIE on a page before a CFLOCATION the cookie doesn't get set.
The code isn't going into a CFLOCATION after the CFCOOKIE is it?
Zoe
zoeski80 Guest
-
jgrantham #3
Re: Cookis Problems
It was. I got it fixed by using a javascript like the following:
<Script language="javascript">
document.location.href ="http://mydummysitecom/is_login.cfm";
</Script>
jgrantham Guest



Reply With Quote

