thanks barney!
assuming years are irrelevant, the condition for determining if it's
after the start day is like this.
WHERE (sp_start_month #month(now())#
OR (sp_start_month = #month(now())# AND sp_start_day = #day(now())#)
)
Determining if you're before the end date is equivalent, just
And Days Month should be TINYINT :-)
This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant,
Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business,
Registered in England, Number 678540. It contains information which is
confidential and may also be
The only difference I see with the example string The quick brown fox jumps
over the lazy dog, is that CF generates a string all uppercase alpha
characters. Aside from that it seems to give the same value. So couldn't you
just say:
lcase(hash(The quick brown fox jumps over the lazy dog))
CF 7.0.2 gives me the correct output as well.
~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four
times a year.
I should have mentioned I was using cfmx 7.0.1
Ryan
[EMAIL PROTECTED] 09/11/2006 09:50
CF 7.0.2 gives me the correct output as well.
~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
I also use Dojo, love it to bits and hate at times too.
I use cfeclipse for my work, and have the aptana plugin as it can handle
Dojo and a lot more as well.
I just wish that cfeclipse had better inline css editing help when doing so.
Oh well.
btw I will be starting some dojo tutorials real
Interesting,
I was under the impression that CF kept strings as they are, I knew there
was a bug with it and webservices which the 7.02 addressed and fixed.
But I use fmx 7.01 here and return strings and out put strings all the time
without CF changing the case. So maybe there was a bug in 7.01
It has also just added a charting engine.. Which is neat.
This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant,
Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business,
Registered in England, Number 678540. It contains information which is
confidential and
For those who don't know about Dojo. And I can't speak of others.
But I have found it very easy to extend widgets to do what I thought was
missing, as well as create your own widgets as well as create compund
widgets. A compund widget is a custom widget with other widgets attached to
your widget.
Hmm, I always use this
WHERE sp_start_month between #month(now())# and #month(now())# AND
sp_start_day = #day(now())#
On 11/9/06, Robertson-Ravo, Neil (RX) [EMAIL PROTECTED]
wrote:
And Days Month should be TINYINT :-)
This e-mail is from Reed Exhibitions (Gateway House, 28 The
redirects will kill your rankings!!
Bryan,
Even a 301 redirect like was suggested?
Thanks much!
Will
~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your
I realize this is a bit of a newb question, but I am trying to get my head
around application variables. I come from a PHP background where I am used
to setting configurations files, etc, which is similar to application vars,
but not quite the same.
Here's the problem I am trying to overcome. I
One more newb question while I am at it. Does CF load application.cfm and
onrequestend.cfm the application.cfm from an included file directory?
IE:
include.cfm - pulls /lib/foo/bar.cfm
does /lib/foo/application.cfm also get loaded or does CF ignor that
directory since in effect it is now
Coldfusion will look for an application.cfm at the current folder
level and carry on up the directory tree until it finds one.
The first that it finds will override any further up the tree
On 11/9/06, John Cox [EMAIL PROTECTED] wrote:
One more newb question while I am at it. Does CF load
On 11/9/06, RichL [EMAIL PROTECTED] wrote:
Coldfusion will look for an application.cfm at the current folder
level and carry on up the directory tree until it finds one.
The first that it finds will override any further up the tree
Thanks, I understand that part. What I don't understand
I'm creating directories using cfdirectory action = create
directory = #currentDirectory# . I want to then put in a default
index page so that the directory isn't browsable. I can create a web
page that will work as tempate for the index file, but I'll need to
create/copy one to the
Application.cfm is called once per request. CFINCLUDE is not considered
to be a request.
However, the easiest way to test it is to add a CFMAIL or CFLOG tag to
the application.cfm file and then try it on an included file.
M!ke
-Original Message-
From: John Cox [mailto:[EMAIL
Cffile should do the trick..
This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant,
Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business,
Registered in England, Number 678540. It contains information which is
confidential and may also be privileged. It is
Thanks Mike and Rich!
On 11/9/06, Dawson, Michael [EMAIL PROTECTED] wrote:
Application.cfm is called once per request. CFINCLUDE is not considered
to be a request.
However, the easiest way to test it is to add a CFMAIL or CFLOG tag to
the application.cfm file and then try it on an included
John
CF will just process the application.cfm of the original file not from
any directory where the included file comes from (if different from
the calling file)
e.g.
/dir1/
/dir1/dir2
- both dir1 and dir2 have their own application.cfm
If you have a file in dir1 and this includes a file in
Why does your data file not have the right number of columns? Is that
our of your control?
..
Ben Nadel
Certified Advanced ColdFusion MX7 Developer
www.bennadel.com
Need ColdFusion Help?
www.bennadel.com/ask-ben/
-Original Message-
From: Robert Harrison
Robert,
It is a known issue that all of the CF list functions ignore empty list
elements a,,c is a list with two elements, not three. There are
some UDFs somewhere out there to deal with this. One quick fix I've seen
is to replace ,, with ,!, (where ! is something special that you
don't
John
I am not too sure on the domain front but the application variables
will persist on a per server basis as far as I am aware, so depending
on the data you are putting in to the application scope there is the
potential for it to be different on different servers (if for example
you are setting
You can also check out http://www.eacgallery.com/ and
http://www.premierauctionsonline.net/
-Original Message-
From: Rick Mason [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 08, 2006 6:24 PM
To: CF-Talk
Subject: Re: Coldfusion Auction Software
Craig,
The company that I work for
On 11/9/06, RichL [EMAIL PROTECTED] wrote:
John
I am not too sure on the domain front but the application variables
will persist on a per server basis as far as I am aware, so depending
on the data you are putting in to the application scope there is the
potential for it to be different on
Thanks for the input everyone. I solved the problem by adjusting the Excel
template. I added an automunber column as the last column in the template
and hid it. That ensured every record had the same number of elements now
matter what the user entered.
This now allows users to users to download
To make a new file use...
cffile action=write... /
But if you already have a template, you can just copy it to the new
directory with...
cffile action=copy... /
-Original Message-
From: Daniel Kessler [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 09, 2006 8:35 AM
To: CF-Talk
Thanks guys. cffile did do the trick and easily so. I was thinking down the
cfftp line with all sorts of questions so it's good to be set on the right
track.
thanks again!
Cffile should do the trick..
~|
Introducing the
Does CF licensing allow you to install CF Pro on two machines? One for
development and one for production?
If I remember right if you don't put a key in on install it goes into
development mode, but you can only run one web site or was it you can only run
pages with the loop back ip
yes
-Original Message-
From: Chad Gray [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 09, 2006 9:56 AM
To: CF-Talk
Subject: CF Licensing
Does CF licensing allow you to install CF Pro on two machines? One for
development and one for production?
If I remember right if you don't put
Without a license you can serve pages to a limited number of client IPs
(5?), but definitely more than just 127.0.0.1.
I bet you it would server multiple web sites if your web server dose.
(The personal version of IIS on desktop OSes only supports one web
site, for example.)
Mark
Chad Gray wrote:
Does CF licensing allow you to install CF Pro on two machines? One for
development and one for production?
You do not need to use a license for your dev environment. Developer
edition is an enterprise version of CF which 3 IP support. You can reach
your dev server from
It seems that CF caches web service WSDL definitions, that is if I make
a change to the underlying web service code (in .Net) CF seems to try to
submit according to the old wsdl. If I restart the CF application
service it submits according to the new wsdl. Is there a way to force a
refresh
The development server is going to be a Windows 2003 so we will have a real
version of IIS.
I will setup the box and do a development install and see if I run into any
problems.
Thanks for the responses everyone.
-Original Message-
From: Gaulin, Mark [mailto:[EMAIL PROTECTED]
OÄuz Demirkapı wrote:
Chad Gray wrote:
Does CF licensing allow you to install CF Pro on two machines? One for
development and one for production?
You do not need to use a license for your dev environment. Developer
edition is an enterprise version of CF which 3 IP support. You can
I want to do a time comparison to see a certain amount of time has
passed.
Just to test this to see what value I get back I am using
cfparam name=SESSION.xTime default=Now()
cfoutput#DateDiff(m, Now(), SESSION.xTime)#/cfoutput
(intending to load the page, wait a few minutes then do a reload)
cfoutput#DateDiff(m, Now(), SESSION.xTime)#/cfoutput
Don't use the quotes around Now() so that it is treated as a function instead
of a string. The same thing with session.xTime, the quotes will tell CF to
treat it as a string instead of a variable.
cfoutput#DateDiff(m, Now(),
Remove the quotes.
Now() is a function not a literal.
Same goes for session.xtime.
If you are really in love with the quotes, then you could do this:
#now()#
But I don't know why you would want that.
:)
~Brad
-Original Message-
From: Stephens, Larry V [mailto:[EMAIL PROTECTED]
Thanks, but:
cfoutput#DateDiff(n, Now(), SESSION.xTime)#/cfoutput (I caught I
wanted n instead of m since I want minutes)
Now() is an invalid date or time string
-Original Message-
From: Ian Skinner [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 09, 2006 12:12 PM
To: CF-Talk
Does session.xTime is a date/time value or the literal now(). Did you
possible do the same thing when you assigned this value as you did in the
function?
cfoutput#session.xTime#/cfoutput before the function to confirm it's value.
--
Ian Skinner
Web Programmer
BloodSource
Yeah, I bet you are doing this up the page:
cfset session.xTime = now()
And you really wanted
cfset session.xTime = now()
~Brad
-Original Message-
From: Ian Skinner [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 09, 2006 11:31 AM
To: CF-Talk
Subject: RE: This should be so
The error was in
cfparam name=SESSION.xTime default=Now()
This set SESSION.xTime to Now() instead of a date/time value.
I have it working now. Thanks.
-Original Message-
From: Ian Skinner [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 09, 2006 12:31 PM
To: CF-Talk
Subject: RE:
YES! Spamassassin comes with several programs for generating spam
scores. It can also be configured to check with third-party spam
analysis tools like Razor2, blacklists, etc. It can also be trained to
identify spam based on whatever messages you tell it are spam.
Spamassassin completely rocks
I believe CF has a undocumented refresh method.
On 11/9/06, Smith, Daron [PA] [EMAIL PROTECTED] wrote:
It seems that CF caches web service WSDL definitions, that is if I make
a change to the underlying web service code (in .Net) CF seems to try to
submit according to the old wsdl. If I
I have a database driven coldfusion site that I wish to spider and
convert to flat html. It has about 6000 records in the db so imagine
that I will need to create about 6000 html pages. Does anyone know of
a spidering/conversion tool or custom tag that can assist me with
this. If not can anyone
We are considering a project that will likely require more keys than the OEM
version of Verity will allow. Does anyone know how Verity licensing is handled
by Autonomy or who to contact if we were trying to find out what the cost to
license an unrestricted version of the K2 server would be. Any
Loop over your db pages, use CFHTTP to output the file content, then do a
CFFILE to write it to disk.
-- Josh
- Original Message -
From: Trent Shepherd [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Thursday, November 09, 2006 10:47 AM
Subject: convert cfm to static
Where can I get the uninstaller for MX 7 for Linux?
~Brad
~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four
times a
Anyone know of a good reliable software to convert fairly large PDF
documents to HTML? We have tried one or two but the one keeps crashing
the machines it's being run on (via the gui) because it fills up the
memory and dies. We had to run it on a desktop with 2GB of RAM so it
wouldn't crash. The
-Original Message-
From: Rick Root [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 09, 2006 11:42 AM
To: CF-Talk
Subject: Re: CF Licensing
OÄuz Demirkapı wrote:
Chad Gray wrote:
Does CF licensing allow you to install CF Pro on two machines? One for
development and one
If it will happen once (or manual), you can try a tool such as Teleport pro.
http://tenmax.com/teleport/pro/home.htm
Trent Shepherd wrote:
I have a database driven coldfusion site that I wish to spider and
convert to flat html. It has about 6000 records in the db so imagine
that I will need
Jordan Michaels wrote:
To do this, you could run the following command in CFEXECUTE:
/path/to/spamassassin mailmessage.txt
and then save the results. The results themselves will look something
like this:
# spamassassin test.txt
X-Spam-Flag: YES
X-Spam-Checker-Version:
All,
We use MeadCo's ScriptX ActiveX control on our Cold Fusion site for printing
coupons
from a hyperlink without prompting the print dialog box. This restricts the
user from printing
coupons twice bu using the back button and with a little Javascript they never
see the coupon
so they can't
Never mind, I think I just found the answer...
cd /opt/coldfusionmx7/bin
../uninstall
~Brad
-Original Message-
From: Brad Wood
Sent: Thursday, November 09, 2006 12:55 PM
To: CF-Talk
Subject: Uninstaller for CF MX 7
Where can I get the uninstaller for MX 7 for Linux?
~Brad
Well, this solution wouldn't work for extremely smart people, but if you
look into CSS you'll see that you have some options for media types. One
type is screen and one is print (I think). You could have a div on the
page that shows up blank on the screen and has a background image (the
coupon)
All,
I have used ScanAlert Hackersafe for several months this summer. I found
their scanning was much more in-depth than Nessus. They seem to do a lot
more, some of it even seemed like there was a human on the other end
(for some of the things). Their web-interface is a mess though. It's
On 11/9/06, Josh Nathanson [EMAIL PROTECTED] wrote:
Loop over your db pages, use CFHTTP to output the file content, then do a
CFFILE to write it to disk.
-- Josh
Id's do something like this where you just write files somewhere on
your server after saving the data in a cfsavecontent
cfloop
On 11/9/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
All,
We use MeadCo's ScriptX ActiveX control on our Cold Fusion site for printing
coupons
from a hyperlink without prompting the print dialog box. This restricts the
user from printing
coupons twice bu using the back button and with
It seems you put a lot of effort into looking at this, however to throw
Something else up to you:
Your goal is for the end user only to print the coupon once, correct?
What stops the end user from printing it once, then using a copier to
copy it multiple times? Not able to control that.
however, if I was to do this.
cfset myStruct = StructNew() /
cfset myStruct.Test = Anything /
Although the string will remain in its case, if I want to
output the node of myStruct it will be returned upper case,
which for me is damn annoying with JSon and JS not liking it.
If you want
Or if you really just need it cached to a file use cf_accelerate or similar
code. I have a modified version of it caching 200,000 + files. Of course
you need a nested directory structure for that but it works very well.
The cache code can be found here:
Russ wrote:
To be more specific, you dont' need a license for you development
environment UNLESS you need more than 3 IP addresses and don't have apache
installed. :-P
In that case, you have to not mind breaking the terms of the licence
agreement too.
Using a proxy to bypass the IP
when I get coupons from Quiznos, I'm allowed to visit the coupon page 3
times. They restrict it because the URL they provide me is specific to
me.. the coupons actually say Coupon valid for Rick Root
Of course, if you launch a print dialog, nothing prevents you from
printing 100 copies.
That will work fine if you are not executing any CF on your pages, just
writing the content of your db to disk. If you are though you would want to
use CFHTTP. That will execute any CF on the page and then you can use
CFFILE to write the resulting html to disk.
Another cool thing about
Thanks guys! I'll absorb all this great info and we'll decide what to do.
Thanks,
Will
~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered
Why not just do the logic on whether the coupon is displayed instead of
whether it's printed?
!//--
andy matthews
web developer
certified advanced coldfusion programmer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-
-Original Message-
Adkins, Randy wrote:
It seems you put a lot of effort into looking at this, however to throw
Something else up to you:
Your goal is for the end user only to print the coupon once, correct?
What stops the end user from printing it once, then using a copier to
copy it multiple times? Not
You cannot have two different SSL sites n the same IP address
as everything is encrypted by the SSL, even the hostname in
the initial connection, so IIS cannot work out what site is
being connected to. You need to use differing IP addresses.
Actually, I'm pretty sure that IIS 6 does allow
Great feedback everyone.
Yes the goal is for eveyone to print the coupon once. You're right you could
make copies of the coupon. We're just trying to limit the ways folks could get
more than one copy.
As far as the earlier post about using Javascript to call the popup window and
print, the
Put a barcode on your coupon and you wouldn't have this issue.
Agreed... or at least a unique code. Either one would accomplish 2 things.
1) Validating the coupon as genuine (and looking up any other info on it
like date issued, expiration date and actual discount info to make sure
those
I totally agree. For your run of the mill Grocery store coupons,
Not worth the effort, but something more vital, yes.
-Original Message-
From: Rick Root [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 09, 2006 2:47 PM
To: CF-Talk
Subject: Re: CF Print coupon one time - STUMPER
Thanks Bobby, I'll use that.
On 11/8/06, Bobby Hartsfield [EMAIL PROTECTED] wrote:
Here's a simple, useful example.
cfscript
function bhimginfo(imgfile){
jFileIn = createObject(java,java.io.File).init(imgfile);
ImageInfo = StructNew();
ImageObject =
[EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Right now, for IE users, the ScriptX ActiveX control sends the print job to
the printer without the print dialog box showing up or disaplaying the
coupon image at all. It's as tight as we can get it for IE users, it just
doesn't work on other
I agree under normal circumstances. However, it's for a major retailer and
even though the coupons are $1.00 off, the amount of downloads/prints it a
cost control issue that has to be as tight as possible.
Is there any other technology besides ActiveC controls of Firefox entensions
that I'm
-Original Message-
From: Rick Root [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 09, 2006 2:40 PM
To: CF-Talk
Subject: Re: CF Licensing
Russ wrote:
To be more specific, you don't' need a license for you development
environment UNLESS you need more than 3 IP addresses and
-Original Message-
From: Rick Root [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 09, 2006 2:44 PM
To: CF-Talk
Subject: Re: CF Print coupon one time - STUMPER
when I get coupons from Quiznos, I'm allowed to visit the coupon page 3
times. They restrict it because the URL they
Really? It would be cool if it did...
This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant,
Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business,
Registered in England, Number 678540. It contains information which is
confidential and may also be
Russ wrote:
Have you read the license agreement? I don't remember anything in there
about you having to use it with only 3 ips... As long as you are only using
it for development, I think you're fine.
Actually, yes I have. If you'd like to read it too, here's the URL:
Perhaps something along the lines of:
Blank page with 'print button' on it.
Clicking on print button triggers javascript that:
{
turns visibility of Div tag with image of coupon. ;
Window.print();
Turns off div with coupon;
Turns on thankyou div with differnet image;
}
Not perfect as you can
If it was an FF extension, wouldn't the end user have to download that, or
is it possible to embed an FF extension like an Active X control? I guess
you could force them to download the extension if they want to use the
coupon.
As it's a major retailer I'm kinda surprised they wouldn't want
-Original Message-
From: Rick Root [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 09, 2006 3:16 PM
To: CF-Talk
Subject: Re: CF Licensing
Russ wrote:
Have you read the license agreement? I don't remember anything in there
about you having to use it with only 3 ips... As
No offense, but I think the level of effort and time hours exhausted on
this will be
More costly that what it is worth. Again coming back to the conclusion
that the end
User could print it once, and then copy it multiple times. Thus, using
it many times
Over. So in the end what would have been
Hey All,
OK..I missed the whole thread, so maybe a decent solution has been put
forward
That said I bet there is no bullet-proof solution.
So think about it from the other angle.don't limit the number of
prints...limit the number of times the coupon can be used.
Fo
Russ wrote:
So then if you are using it with more then 1 ip address, then you're
violating the agreement. So therefore the CFMX license which allows for 3
IPs is violating the agreement.
Where is it documented that it's three IP addresses? I can't find it.
MX 6.1 is definately one IP
As an aside, once you do this (go from .cfm pages to .html) your
server's ability to process page traffic is going tto go thru the
roof, and since you have taken CF and your db out of the picture, page
response times will go way down as well.
I loop over my db like so (very pseudo-code :-) ):
You could make people enter their mailing address and physically send
them just one :-)
-Original Message-
From: [EMAIL PROTECTED] [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Thursday, November 09, 2006 1:38 PM
To: CF-Talk
Subject: Re: CF Print coupon one time - STUMPER
Great
I'm not 100% sure but would a Java Applet allow the same sort of
functionality, just cross browser?
John
-Original Message-
From: [EMAIL PROTECTED] [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Thursday, November 09, 2006 1:48 PM
To: CF-Talk
Subject: Re: CF Print coupon one time -
What about multi page CF application?
When I have some links on my application like a real page, are there
any other way?
We may parse all href links, check whether they are in same domain or
not and if they are parse them again. But what about links in pages? :)
Anyway. If there is real
They could still copy it multiple times.
-Original Message-
From: Burns, John D [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 09, 2006 3:48 PM
To: CF-Talk
Subject: RE: CF Print coupon one time - STUMPER
You could make people enter their mailing address and physically send
them just
I just checked my local developer edition CF admin and I can't find
anyplace to specify IP addresses.
Rick
You don't get to specify the two IP address but the developer edition will
accept connections from the local host (127.0.0.1) and the first two IP's that
connect after a CF service
D, Is there anything being done at the time of redemption? Could be as
simple as a person validating the coupon itself? I think this is one of
those cases where the effort also needs to be focused on the physical
process in addition to the systemic process. The web is great, but really
cant do
As an aside, once you do this (go from .cfm pages to .html) your
server's ability to process page traffic is going tto go thru the
roof, and since you have taken CF and your db out of the picture, page
response times will go way down as well.
Not to mention that you can take the opportunity
I will put the full line on my CF Java list
cfset RpcService.refreshWebService(
http://wonderboy:8500/MX/components/dude.cfc?wsdl;)
http://tech.groups.yahoo.com/group/java_coldfusion_hacks/
On 11/9/06, Dan Plesse [EMAIL PROTECTED] wrote:
I believe CF has a undocumented refresh method.
On
I thought I remember seing a CF function that returns yes/no if the executed
page is SSL.
Like isHttps() or somethin...
I'm not finding anything like that in my book or googling. Am I inventing
functions in my head again?? lol.
Thanks,
Will
The variable is CGI.HTTPS and it equals either on or off. To force SSl
you can use something like
cfif CGI.HTTPS EQ 'off'
cflocation url=https://#CGI.HTTP_HOST##CGI.PATH_INFO#;
/cfif
Cheers,
!k
-Original Message-
From: Will Tomlinson [mailto:[EMAIL PROTECTED]
Sent: Thursday,
Hey does anyone know if this is what craigslist.com does? I noticed all
their postings are html page, but I wasn't sure if they are rewriting
the url, or if they just go through and create static pages of each
post. Given their amount of traffic, and fairly static data it would
make pretty good
You can get this from CGI.Https
..
Ben Nadel
Certified Advanced ColdFusion MX7 Developer
www.bennadel.com
Need ColdFusion Help?
www.bennadel.com/ask-ben/
-Original Message-
From: Will Tomlinson [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 09, 2006 3:25 PM
Oh yeah, just dumped CGI and found some stuff.
You could also use this too right? CGI.SERVER_PORT_SECURE
Looks like CGI.HTTPS is a better choice tho.
Thanks! This is cool!
Will
~|
Introducing the Fusion Authority Quarterly
The variable is CGI.HTTPS and it equals either on or off. To force SSl
you can use something like
I see CGI.SERVER_PORT_SECURE which is either 1 or 0, depending on SSL, or my
local insecure server.
CGI.HTTPS shows as an empty string on my local server. If I tried evaluating
that as boolean,
What version of CF are you using?
!k
-Original Message-
From: Will Tomlinson [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 09, 2006 2:40 PM
To: CF-Talk
Subject: Re: Forgot CF function for https...
The variable is CGI.HTTPS and it equals either on or off. To force SSl
you can use
1 - 100 of 130 matches
Mail list logo