Re: Secure Login w/ CF and Application.cfc

2013-01-14 Thread Andrew Scott
Is this Application.cfm or Application.cfc You have Application.cfm and yet you have Application.cfc code, that is a bug problem in itself. So if this is an Application.cfc, you need to remove the cfparams ( I am not sure these work in Application.cfc, sure someone will correct that) and the cfa

Re: Secure Login w/ CF and Application.cfc

2013-01-14 Thread Kym Kovan
You have no ending double quote on the two timeout attributes: > sessiontimeout="#CreateTimeSpan(0,0,15,0)# > applicationtimeout="#CreateTimeSpan(0,2,0,0)# /> that means the parser is rolling along trying to find the other end of the quoted section. It should be: sessiontimeout="

Re: Secure Login w/ CF and Application.cfc

2013-01-14 Thread Russ Michaels
this line has an extra set of quotes at the end 5: applicationtimeout="#CreateTimeSpan(0,2,0,0)#" />" this section has missing closing quotes on the last 2 params On Mon, Jan 14, 2013 at 10:34 PM, B Griffith wrote: > > Edit: Sorry Andrew, meant to attach this to the bottom of the entire >

Re: Secure Login w/ CF and Application.cfc

2013-01-14 Thread Cameron Childress
On Mon, Jan 14, 2013 at 5:25 PM, B Griffith wrote: > "Invalid CFML construct found on line 5 at column 33 > > 5: applicationtimeout="#CreateTimeSpan(0,2,0,0)#" />" I don't know if it's a typo, but in the code sample you posted below you are missing a closing quote mark ("). -Cameron ... ~~

RE: difference in displaying a numeric value in POI

2013-01-14 Thread Eric Roberts
One is rounding and one is doing an Integer function -Original Message- From: safo 2000 [mailto:safokas...@hotmail.com] Sent: Monday, January 14, 2013 1:02 AM To: cf-talk Subject: difference in displaying a numeric value in POI hi, i am trying to write a numeric value using POI an

Re: Secure Login w/ CF and Application.cfc

2013-01-14 Thread B Griffith
Edit: Sorry Andrew, meant to attach this to the bottom of the entire thread. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.hou

Re: Secure Login w/ CF and Application.cfc

2013-01-14 Thread B Griffith
Andrew - Tried your suggestion, no change Al - Tried your suggestion, different error message: "Invalid CFML construct found on line 5 at column 33 5: applicationtimeout="#CreateTimeSpan(0,2,0,0)#" />" Which according to my text-editor is the between the 'e' in Create and 'T' in Timespan. I

Re: Secure Login w/ CF and Application.cfc

2013-01-14 Thread Al Musella, DPM
The error might be before line 20... try removing the comments and see if that makes a difference At 03:32 PM 1/14/2013, you wrote: >Okay, so I found a different stand-alone set of login pages/code on >a different website, but when I try to go to the index.cfm page >(which previously worked

Re: Secure Login w/ CF and Application.cfc

2013-01-14 Thread Andrew Scott
Yeah you might like to do otherwise if the variable doesn't exist in the scope, it will error. -- Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+: http://plus.google.com/113032480415921517411 ~| Order th

Re: Secure Login w/ CF and Application.cfc

2013-01-14 Thread B Griffith
Okay, so I found a different stand-alone set of login pages/code on a different website, but when I try to go to the index.cfm page (which previously worked w/o the inclusion of the new pages/code) I get: Invalid token c found on line 20 at column 4. 18:calling THIS page (application.cfc) is l

Re: Secure Login w/ CF and Application.cfc

2013-01-14 Thread Justin Scott
> This line is getting triggered on every page load, so when it redirects and reloads the page it's getting triggered again in an endless cycle. You'll need to add logic to tell it not to redirect when you're actually loading the login page: Adjust that as needed and it should stop redirec

Re: Newbie question regarding MSSQL queries w/ CF8

2013-01-14 Thread B Griffith
Thank you, John! In fact, I will try that as my humble site is in the early-development stage and although I'm learning CF for work (I'm actually a Network Admin, not a Web Dev), I'm also learning as much as I can about it for my own enrichment and to 'round myself out.' I suppose it would ha

Secure Login w/ CF and Application.cfc

2013-01-14 Thread B Griffith
Hello all, I'm new to CF and had an excellent experience posting here with my last issue, now I am having a problem making my secure login to my webpage work. The issue seems to be (if I'm understanding correctly) that there is an infinite loop between my login.cfm and application.cfc. I assu

SOT NVCFUG Meeting Jan. 17 Tyson's Corner.

2013-01-14 Thread Larry Lyons
Greetings all, I hope you don't mind the slightly off topic posting. Come and Join Us this Thursday January 17, 2013 at 7PM (M&G 6:30-7) at the Fed Biz Office Building (see https://maps.google.com/maps?q=8500+Leesburg+Pike,+Vienna,+VA for directions). Please come out and join us as we discu

Re: Newbie question regarding MSSQL queries w/ CF8

2013-01-14 Thread John M Bliss
As a thought experiment (at least), you could eliminate repeats using CF as follows: Download http://cflib.org/udf/ListRandomElements and then do this: #displayRow# #rs.first[displayRow]# #rs.last[displayRow]# #rs.flag[displayRow]# On Mon, Jan 14, 2013 at 10:59 AM, B Griffith wrot

Re: Newbie question regarding MSSQL queries w/ CF8

2013-01-14 Thread B Griffith
Thank you all, I used CF first per the first response and got repeats among the iterations and then tried the SQL version using "TOP X" and newid() and was able to make that work with no repeats! Also, thanks to everyone for your speedy responses and friendliness, I've had experiences with oth

Re: Delayed availability of datasource

2013-01-14 Thread Cameron Childress
I'm not much of an Oracle Admin so this may be a misguided suggestion, but sometimes there is a "maximum connections allowed" setting on the database side. Assuming that there is, and assuming that it's set to exactly the same number of connections you allow from your CF servers... I could see a

Re: Lite CFML Editor

2013-01-14 Thread Larry Lyons
>Hi! Quick poll: I'd like to install a lite, free, CFML editor onto a >computer (not my main computer) where the editor is suitable for me to use >my iPad to RDC to the computer and edit existing code. > >Suggestions? > >-- >John Bliss - http://about.me/jbliss For the iPad, I'd suggest Textastic

Re: AW: Delayed availability of datasource

2013-01-14 Thread Russ Michaels
Do you have any firewalls between the servers that may be blocking connections. Are you usinf nat or vpn etc. Telbet should work unles something is blocking telnet itself which would have to happen on the source server, otherwise it is juat a simple tcp/ip connection. Regards Russ Michaels www.mi

AW: Delayed availability of datasource

2013-01-14 Thread Helwig, Till Helge
Hi Russ, Thanks for your answer. No, I'm just restarting Apache and ColdFusion9. It's not a hardware restart. I tried the idea with telnet but something seems strange... I can't get a connection but it doesn't work on another server where the database connection is working fine right now eithe

Re: Delayed availability of datasource

2013-01-14 Thread Russ Michaels
Are you just restarting cf or the whole aerver? This sounds more like a networking issue. After restarting, when you are having this issue, try a telnet connection the oracle server/port, this will confirm whether the aerver can connect or whether it is just cf. Regards Russ Michaels www.michaels

Delayed availability of datasource

2013-01-14 Thread Helwig, Till Helge
Hi, For quite some time now we've had a very odd problem with our CF9 development servers. We are using an Oracle database as backend, it's properly set up in the CFIDE using a JDBC driver and usually the connection works. Whenever I restart the CF server though, the connection is not availabl