I've got a basic CFLOGIN framework going to secure an application. Everything is working fine, except after they log in I need to query a database for to pull info for each user. I used to use session variables, set in the login script, to do this.
I'd like to user cflogin.name and...
Users get to the login form after clicking logout, but the session variables aren't really cleared/the session isn't really over.
Here's the way I set the session if they've entered a correct un/pw:
<!--- Remember user's logged-in status, plus --->
<!--- ContactID and First Name, in...
How do you code a 'welcome back' message that only displays after the first visit? I'm assuming you have to use <cfapplication> and session variables to know when their first session has ended...
What is the ideal collation for Turkish & French characters? I set up our database using utf8_general_ci and it was working fine. Then the host changed the collation and it stopped working. Turkish characters are translated by the database into question marks...
How does the host collation...
We're using a JavaScript with Google Maps to load geographic data files and define parameters in Google's API. I'm not so hot with JavaScript, so any help would be much appreciated! I have a working script that just needs one small change. The checkboxes toggle map layers on and off. We want all...
Can coldfusion create subdomains? I want to set up an administrator panel which allows a client to create subdomains on the server and point them to root directories. Or point all subdomains to the same root, but have CF output tailored to data specific to each subdomain.
Also a factor, Can...
I've been working with MS databases and am giving MySQL a shot. I'm getting an error with the query below, and am battling with the host over whose fault it is! Can someone verify syntax for me?
<cfquery datasource="datasource" name="GetStaff" username="username" password="password">
SELECT *...
I need to combine a number of variables used to generate a CAPTCHA image into one variable using CFSET. The first character of the CAPTCHA is called something like var1, the second is something like var2, etc.
Of course I've gotten errors when I try it like this:
<cfset CaptchaCode =...
I'm new to CSS forms, and I'm having trouble getting my form to submit properly. When I submit the form it doesn't go to the action URL. Below is my CSS code and form code. Thanks!
CSS CODE
input
{
color: #666666;
border: 1px solid #666666
}
fieldset
{
border: 1px solid #666666;
width...
I'm using <cfmail> to send a bulk email to all users in the Users table. It's an HTML email which has to be populated with property data from the SaleProps table. I only want 2 properties to go to all of the users. The SQL below is sending one property per email to every user. But it is...
To take a step back, I'm using frames as a quick way to integrate blogger.com blog functionality into my page. I used to have a custom blog that I coded, but it got spammed and I got impatient. I didn't see an easy way to integrate blogger.com right off the bat, so I came up with the frames...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.