Re: Quicktime Movie

2007-07-17 Thread Robertson-Ravo, Neil (RX)
No, you will not require such a server unless you want to reduce the impact and manage large amounts of media being delivered via the internet. Most modern day players, give the appearance of steaming via buffering and with the speed on broadband connections these days it looks as though steaming

Re: Time for another CF hosting site thread...

2007-07-17 Thread Robertson-Ravo, Neil (RX)
Backups probably cost $500 extra :-) 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.

Re: cfpayflowpro release

2007-07-17 Thread AJ Mercer
Is any one using this? Any comments / thoughts / accolades? On 7/6/07, AJ Mercer [EMAIL PROTECTED] wrote: Hi Dan, this looks real neat. I see it is still in Alpha - is there more work to be done? - are you still working on it? Would I have to have rocks in my head to put the current

Re: Time for another CF hosting site thread...

2007-07-17 Thread James Holmes
Or if your database was hacked, or your code stolen; I asked this question of hostingatoz today: Do you sandbox datasources and the filesystem too, as standard for all accounts? The response: No. This is not standard with the all the accounts. You need to request this, however, it is free. On

Failed to map segment

2007-07-17 Thread Deanna Schneider
Hey all, Recently I've started getting these errors: /opt/jrun4/runtime/j2re1.4.2_05/lib/i386/libawt.so: /opt/jrun4/runtime/j2re1.4.2_05/lib/i386/libawt.so: failed to map segment from shared object: Cannot allocate memory null I get that the cannot allocate memory is a Java specific error having

Re: Session Variable Types

2007-07-17 Thread Rick Root
I'd like to see a few more answers to this one before I post the answer I had an interviewer ask me the following question. What types of session variables do you use? Before reading any of the responses to this thread, I'd like to know how you would answer that question.

Re: Session Variable Types

2007-07-17 Thread exH
Er.. strings, numeric, structures, queries, arrays, date, boolean on Sundays etc. - Original Message - From: Rick Root [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Tuesday, July 17, 2007 1:28 PM Subject: Re: Session Variable Types I'd like to see a few more

RE: Time for another CF hosting site thread...

2007-07-17 Thread Andy Matthews
The files you're storing don't technically have to be on the same server. You could have two servers, one used as a media server, the other as your main domain server. Just a thought. -Original Message- From: Peter Donahue [mailto:[EMAIL PROTECTED] Sent: Monday, July 16, 2007 4:50 PM

Current time in seconds

2007-07-17 Thread Bosky, Dave
Are there any date/time functions that will display the current date/time in seconds? Also a function to format the seconds back to readable format? Thanks, Dave ** HTC Disclaimer: The information contained in this message may

Re: Current time in seconds

2007-07-17 Thread Crow T. Robot
Seconds in reference to what? Since the beginning of time? The beginning of this year? This month, today? Five minutes ago? On 7/17/07, Bosky, Dave [EMAIL PROTECTED] wrote: Are there any date/time functions that will display the current date/time in seconds? Also a function to format the

Re: Current time in seconds

2007-07-17 Thread Christopher Jordan
Try DateFormat(); Chris On 7/17/07, Bosky, Dave [EMAIL PROTECTED] wrote: Are there any date/time functions that will display the current date/time in seconds? Also a function to format the seconds back to readable format? Thanks, Dave

RE: Current time in seconds

2007-07-17 Thread Andy Matthews
Not built in. But I'll bet you could find one on CFLib.org. And what do you mean by current time in seconds? Are you talking about like a unix timestamp? -Original Message- From: Bosky, Dave [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 17, 2007 8:17 AM To: CF-Talk Subject: Current

RE: Current time in seconds

2007-07-17 Thread Robert Harrrison
Do you mean like the total number of seconds since the beginning of AD? Robert B. Harrison Director of Interactive services Austin Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 T : 631.231.6600 Ext. 119 F : 631.434.7022 www.austin-williams.com Great advertising can't be

RE: Current time in seconds

2007-07-17 Thread James Smith
cfset startTime = {ts '2007-07-01 00:00:00'} cfset nowTime = now() cfset seconds = dateDiff('s',startTime,nowTime) cfoutputp#seconds#br /#dateAdd('s',seconds,startTime)#/p/cfoutput -- Jay -Original Message- From: Bosky, Dave [mailto:[EMAIL PROTECTED] Sent: 17 July 2007 14:17 To: CF-Talk

RE: Current time in seconds

2007-07-17 Thread Bosky, Dave
Yeah. I was looking to get the current date/time in a unix timestamp format. I looked around cflib but didn't see anything. -Original Message- From: Bosky, Dave [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 17, 2007 9:17 AM To: CF-Talk Subject: Current time in seconds Are there any

RE: Current time in seconds

2007-07-17 Thread Ben Nadel
If you convert the date to a number, it will give you the number of days since the ZERO DAY (an arbitrary day that is used to track future and past times). This gives you a decimal value of days and fractions of a day. Just multiple that by the number of seconds in a day: (Now() * 24 * 60 * 60)

session vulnerabilities

2007-07-17 Thread Michael Traher
If cfid and cftoken or jsessionid are copied and used later maliciously on the url, how should a site respond? How do folks guard against this? -- Mike T Blog http://www.socialpoints.com/ ~| ColdFusion MX7 and Flex 2 Build

RE: session vulnerabilities

2007-07-17 Thread Ben Nadel
Once the session times out, it won't matter that the same CFID / CFTOKEN are being used. This is the same exact thing as letting a web page sit open for a few hours, then refreshing the page and being kicked out of the session. The Browser makes a request with the CFID / CFTOKEN values that it has

Re: Session Variable Types

2007-07-17 Thread Michael Traher
those based on cfid and cftoken and those based on jsessionid from the j2ee server. that would be my answer and on the whole I favour jsessionid and would blah blah about that for a bit! On 7/16/07, Rick Root [EMAIL PROTECTED] wrote: I had an interviewer ask me the following question. What

RE: Current time in seconds

2007-07-17 Thread Peterson, Chris
Do dateDiff(s, 01/01/1997, now()) to give the seconds since Jan 1, 1997 (that date has no meaning, just a random date ;) Chris Peterson Gainey IT Adobe Certified Advanced Coldfusion Developer -Original Message- From: Bosky, Dave Sent: Tuesday, July 17, 2007 9:17 AM To: CF-Talk Subject:

Re: Spider / Site Map Tool

2007-07-17 Thread Ian Skinner
Claude Schneegans wrote: I have just been tasked to find/build a tool that can 1) spider / build a site map of our web site There is much simpler than this. 1) find (or develop your own) menu system which uses standard HTML UL and LI and some css and Javascript to format it as a drop

RE: Current time in seconds

2007-07-17 Thread Andy Matthews
DateFormat, CreateDate or CreateODBCDate will do that. You just have to specify the mask on your own. DateFormat(Now(),'mmdd')TimeFormat(Now(),'hhss') Would return 20070717090133 -Original Message- From: Bosky, Dave [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 17, 2007 8:42 AM

Re: Session Variable Types

2007-07-17 Thread Tom Chiverton
On Tuesday 17 Jul 2007, you wrote: I'd like to see a few more answers to this one before I post the answer Things like the users recent report requests -- Tom Chiverton This email is sent for and on behalf of Halliwells LLP. Halliwells

Re: Session Variable Types

2007-07-17 Thread Dominic Watson
Hm, dependant on the number of expected concurrent sessions: any data type / object that did not overload the server's RAM i.e. just small ones. Dom On 17/07/07, exH [EMAIL PROTECTED] wrote: Er.. strings, numeric, structures, queries, arrays, date, boolean on Sundays etc. -

Re: session vulnerabilities

2007-07-17 Thread Michael Traher
Ok - supposing a hacker generates a valid session on a site, then invites others to click on a link with the same cfid cftoken on the url, meanwhile the hacker keeps the session alive. Any visiters that click on the hackers link are now sharing their details with the hacker in the same session in

RE: Spider / Site Map Tool

2007-07-17 Thread Andy Matthews
ColdFusion 8 can create PDFs, maybe it can also read links inside them? -Original Message- From: Ian Skinner [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 17, 2007 8:58 AM To: CF-Talk Subject: Re: Spider / Site Map Tool Claude Schneegans wrote: I have just been tasked to find/build a

Re: Current time in seconds

2007-07-17 Thread Paul Hastings
Bosky, Dave wrote: Are there any date/time functions that will display the current date/time in seconds? Also a function to format the seconds back to readable format? if you mean unix offset: cfscript rightNow=now(); seconds=round(rightNow.getTime()/1000); /cfscript cfdump var=#seconds#

RE: cfpayflowpro release

2007-07-17 Thread Bobby Hartsfield
I haven't used the latest release but I have used previous a version. It's pretty straight forward and well documented (in my opinion) ..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: AJ Mercer [mailto:[EMAIL PROTECTED] Sent:

Re: Current time in seconds

2007-07-17 Thread James Wolfe
Are there any date/time functions that will display the current date/time in seconds? You can use the java date object to get whatever you want. You can use the following code to determine the number of milliseconds since since the standard base time known as the epoch, namely January 1,

Read apache environment variables in CFMX/j2EE

2007-07-17 Thread Hansjoerg
Hello! In my apache config I am setting some variables using SetEnv, but they do not appear in the CGI variables seen by CFMX. A simple php script shows that they are passed on correctly. How to resolve this issue? Running CFMX7 on JRUN on Mac OS X. Best regards, Hansjoerg

SOT: managing multiple dev environments

2007-07-17 Thread K Jones
This isn't really CF-specific, but we are a CF shop, and couldn't think of another list that would be more appropriate. We've got an application that has several potential base-configurations. In development we are looking for a way to easily change from one configuration to the next, so that

Re: Session Variable Types

2007-07-17 Thread Brian Kotek
Personally, it's a terrible question. I'd say something like: That question needs clarification. Do you mean possible categories of session variables availabe in ColdFusion, such as standard vs. J2EE? Or do you mean kinds of data one might choose to store in a persistent scope, such as shopping

Re: Session Variable Types

2007-07-17 Thread Rick Root
Well, the interviewer was actually asking if I used j2ee session variables, to which I would've quickly answered no But as far as coldfusion is concerned, There's only one type of session variables. Those are variables placed in the session scope. Whether or not they are J2EE session variables

Simple JS math?

2007-07-17 Thread Che Vilnonis
Looking to add an integer and a fraction. How do I do this with Javascript? Thanks, Che! script language=JavaScript var num = 20; var frac = 3/8; var DBWTemp = (num + frac); document.write(DBWTemp); /script ~| Macromedia

Re: session vulnerabilities

2007-07-17 Thread Rick Root
On 7/17/07, Michael Traher [EMAIL PROTECTED] wrote: We are currently considering stripping cfid cftoken and jsessionid from the url scope in application.cfc. This means users must use cookies to use the site of course. Any thoughts? As long as you understand that a user can pretty easily

Re: Session Variable Types

2007-07-17 Thread Brian Kotek
Correct, the J2EE session variables are required to replicate them across a cluster. However, whether you need to lock them or not has nothing to do with the type of session variable you choose, but on the potential for race conditions in the code itself. On 7/17/07, Rick Root [EMAIL PROTECTED]

CF8 and encrypted files

2007-07-17 Thread Jim Rising
has anyone experienced any issues with files encrypted in previous versions of CF not working in CF8? when included into code running in CF8, encrypted files only show the encrypted source rather than parsing and showing the expected output. Jim Rising Sr. Cold Fusion Developer ICGLink Inc.

Re: Session Variable Types

2007-07-17 Thread Charlie Griefer
Rick: even if there weren't any differences from a coding standpoint, the fact that you can choose between the two still suggests that they are different (at least different enough that the choice is there). J2EE sessions end on browser close. traditional cf sessions do not. you can time out a

Re: Simple JS math?

2007-07-17 Thread Charlie Griefer
take 3/8 out of quotes. it's not a string. it's a number. you'll get 20.375. or were you looking for 20 3/8? On 7/17/07, Che Vilnonis [EMAIL PROTECTED] wrote: Looking to add an integer and a fraction. How do I do this with Javascript? Thanks, Che! script language=JavaScript var num = 20;

Re: SOT: managing multiple dev environments

2007-07-17 Thread Tom Chiverton
On Tuesday 17 Jul 2007, [EMAIL PROTECTED] wrote: What are others doing to address similar problems? One named-based virtual host in the webserver for each client/option springs to mind. -- Tom Chiverton This email is sent for and on

RE: Simple JS math?

2007-07-17 Thread Ben Nadel
Try: script language=JavaScript var num = 20.0; var frac = 3/8; var DBWTemp = (num + frac); document.write(DBWTemp); /script Should work. .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/

Re: Simple JS math?

2007-07-17 Thread Barney Boisvert
num + eval(frac) The latter operand will evaluate the string as if it were javascript (i.e. do 3 / 8), which will give you the floating-point equivalent of the fraction, which can then be added to the integer (giving 20.375). cheers, barneyb On 7/17/07, Che Vilnonis [EMAIL PROTECTED] wrote:

Re: Session Variable Types

2007-07-17 Thread Rick Root
On 7/17/07, Brian Kotek [EMAIL PROTECTED] wrote: Personally, it's a terrible question. I'd say something like: That question needs clarification. Do you mean possible categories of session variables availabe in ColdFusion, such as standard vs. J2EE? Or do you mean kinds of data one might

Re: Session Variable Types

2007-07-17 Thread Tom Chiverton
On Tuesday 17 Jul 2007, [EMAIL PROTECTED] wrote: Although he said he'd heard you didn't need to lock j2ee session variables. Oh dear... cfset session.inaccurateCountOfPagesViewed = session.inaccurateCountOfPagesViewed + 1 / :-) -- Tom Chiverton

Re: SOT: managing multiple dev environments

2007-07-17 Thread Barney Boisvert
If the synchronizing the databases is the big issue, check out my schema management tool (http://www.barneyb.com/barneyblog/2007/07/13/schema-tool-update/). It's designed to manage that exact problem. I use it to keep my office, laptop, and home workstation in sync, but you could use it to keep

Re: Simple JS math?

2007-07-17 Thread Ben Doom
It seems to me you have two choices. You can do it as a string (by converting the 20 to a string and adding a space and the fraction) or as a number, which will give you a decimal. Which are you trying to accomplish? --Ben Doom Che Vilnonis wrote: Looking to add an integer and a fraction.

error occured while Parsing an XML document

2007-07-17 Thread coldfusion . developer
Any ideas? I'm getting the following error message ... The following information is meant for the website developer for debugging purposes. Error Occurred While Processing Request An error occured while Parsing an XML document. The entity name must immediately follow the '' in the entity

RE: Simple JS math?

2007-07-17 Thread Andy Matthews
That's cool Barney. I didn't know it would be quite that efficient. Any performance hits using eval? -Original Message- From: Barney Boisvert [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 17, 2007 10:46 AM To: CF-Talk Subject: Re: Simple JS math? num + eval(frac) The latter operand

RE: Simple JS math?

2007-07-17 Thread Che Vilnonis
Thanks Barney... That did the trick. -Original Message- From: Barney Boisvert [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 17, 2007 11:46 AM To: CF-Talk Subject: Re: Simple JS math? num + eval(frac) The latter operand will evaluate the string as if it were javascript (i.e. do 3 / 8),

RE: Simple JS math?

2007-07-17 Thread Andy Matthews
Doing it that way you can't. One is a string, the other's a number. You'd have to first convert the fraction into it's decimal representation. You could prolly write a function to do that. Something like this would work: str = '3/8'; function convertDecimal(str) {

Re: session vulnerabilities

2007-07-17 Thread Jochem van Dieten
Michael Traher wrote: Ok - supposing a hacker generates a valid session on a site, then invites others to click on a link with the same cfid cftoken on the url, meanwhile the hacker keeps the session alive. Any visiters that click on the hackers link are now sharing their details with the

Re: session vulnerabilities

2007-07-17 Thread Claude Schneegans
supposing a hacker generates a valid session on a site, then invites others to click on a link with the same cfid cftoken on the url Keep the IP address of the one who created the session in the session variables, then refuse any other connection in the same session from another IP. --

Re: Session Variable Types

2007-07-17 Thread James Holmes
J2EE sessions also automatically end (for the user) when the browser is closed instead of persisting, as J2EE sessions are tracked with session (i.e. in-memory) cookies rather than persistent ones. On 7/17/07, Rick Root [EMAIL PROTECTED] wrote: Well, the interviewer was actually asking if I used

RE: error occured while Parsing an XML document

2007-07-17 Thread Ben Nadel
You probably have an unescaped in your SRC attribute value. Try this: img src=cfoutput#XmlFormat( homepage.cb_image_resized )#/cfoutput / .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/

RE: Session Variable Types

2007-07-17 Thread Dave Watts
Although I'm aware of j2ee session variables, it never occurred to me to consider that someone might consider them a different type of session variable, so I totally didn't understand the question. He did finally tell me about the two types of session variables. As you say, they aren't

apache - iis gotchas?

2007-07-17 Thread John Paul Ashenfelter
Folks, I've been using Apache for years now and I have a client making the transition from Apache to IIS (don't ask, it doesn't matter why ;) So I've got a couple of servers that are making the transition of Apache (on Windows2003) to IIS (on Windows2003), more or less in place. I can take one

Re: SOT: managing multiple dev environments

2007-07-17 Thread John Paul Ashenfelter
On 7/17/07, Tom Chiverton [EMAIL PROTECTED] wrote: On Tuesday 17 Jul 2007, [EMAIL PROTECTED] wrote: What are others doing to address similar problems? One named-based virtual host in the webserver for each client/option springs to mind. I'd second that. The only other way is to only work on

Re: Session Variable Types

2007-07-17 Thread Raymond Camden
I think you should be a bit careful on wording here. Doing structClear on a session will NOT timeout the session. It just removes the data in it. So for example, onSessionEnd will not fire. On 7/17/07, Charlie Griefer [EMAIL PROTECTED] wrote: Rick: even if there weren't any differences from a

Re: Session Variable Types

2007-07-17 Thread Ben Doom
Charlie Griefer wrote: J2EE sessions end on browser close. traditional cf sessions do not. Now that's some useful information. All I have to do is figure out how it can be useful in my immediate future --Ben Doom ~|

Re: CF8 and encrypted files

2007-07-17 Thread Jochem van Dieten
Jim Rising wrote: has anyone experienced any issues with files encrypted in previous versions of CF not working in CF8? I don't know about encrypted files, but compiled files indeed need to be recompiled to run against CF 8 because some internal signatures changed. Jochem

RE: Simple JS math?

2007-07-17 Thread Jim Davis
-Original Message- From: Barney Boisvert [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 17, 2007 11:46 AM To: CF-Talk Subject: Re: Simple JS math? num + eval(frac) The latter operand will evaluate the string as if it were javascript (i.e. do 3 / 8), which will give you the

Re: error occured while Parsing an XML document

2007-07-17 Thread Dominic Watson
Additionally, I have just had a problem where the XML would validate but then not display in IE7. The problem was that the xml text contained the escaped version of the pound symbol (amp;pound;) which XMLFormat creates when it encounters '£'. The solution was this: cffile action=write ...

Re: Multi-Level CFTREE from a query?

2007-07-17 Thread Greg Luce
Joe Celko's nested tree model works nicely. It was in the book SQL For Smarties I believe. Greg On 7/17/07, Richard Colman [EMAIL PROTECTED] wrote: Does anyone know of an example of how to populate a multi-lvel CFTREE control from a query. There are doc examples showing hard coding the

Re: Simple JS math?

2007-07-17 Thread Barney Boisvert
Nope, JS is all interpreted, eval just exposes a way to do it at runtime as well as load time. That's a smidge of a lie, but it's one that can be treated as truth in all but very exceptional cases. cheers, barneyb On 7/17/07, Andy Matthews [EMAIL PROTECTED] wrote: That's cool Barney. I didn't

Re: Session Variable Types

2007-07-17 Thread Rick Root
On 7/17/07, Raymond Camden [EMAIL PROTECTED] wrote: Of course, one could argue that a stat like that may not be important enough for a lock. If you were simply reporting your pages viewed then you could can probably just not worry about it. Remember the 90s, when page views were all important

Re: session vulnerabilities

2007-07-17 Thread Michael Traher
Unfortunately this may exclude AOL users that can end up getting different IP addresses per request because of the proxy setup they have. On 7/17/07, Claude Schneegans [EMAIL PROTECTED] wrote: supposing a hacker generates a valid session on a site, then invites others to click on a link with

Multi-Level CFTREE from a query?

2007-07-17 Thread Richard Colman
Does anyone know of an example of how to populate a multi-lvel CFTREE control from a query. There are doc examples showing hard coding the levels, but I can't seem to find one showing how to populate from a query. TNX if you can provide a pointer. Rick Colman

Re: Session Variable Types

2007-07-17 Thread Rick Root
On 7/17/07, Charlie Griefer [EMAIL PROTECTED] wrote: J2EE sessions end on browser close. traditional cf sessions do not. Is that documented somewhere? Rick ~| ColdFusion 8 beta – Build next generation applications today.

Re: Session Variable Types

2007-07-17 Thread Raymond Camden
On 7/17/07, Tom Chiverton [EMAIL PROTECTED] wrote: On Tuesday 17 Jul 2007, [EMAIL PROTECTED] wrote: Although he said he'd heard you didn't need to lock j2ee session variables. Oh dear... cfset session.inaccurateCountOfPagesViewed = session.inaccurateCountOfPagesViewed + 1 / :-) Of

Re: error occured while Parsing an XML document

2007-07-17 Thread Zaphod Beeblebrox
try using img src=cfoutput#xmlformat(homepage.cb_imaged_resized)#/cfoutput / On 7/17/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Any ideas? I'm getting the following error message ... The following information is meant for the website developer for debugging purposes. Error Occurred

Re: verity: CF MX 6.1 recordcount neq recordssearched

2007-07-17 Thread John Stottlemire
Use of these tools show identical results. The first 51 records within the query.recordset are missing from the verity collection. We've even added more records to the table and the newest (when ordered with newest on top) records are missing from the collection (after its reindexed of

Re: SOT: managing multiple dev environments

2007-07-17 Thread Kris Jones
Thanks so much Barney. We had written a tool to do cross-site updates for SQL integration, but it hasn't been proven-out yet, so it'll be good to see how your tool handles this issue. Will download and read included docs now! Tom John, we do use virtual dirs in IIS for handling different clients

RE: Multi-Level CFTREE from a query?

2007-07-17 Thread Richard Colman
Does anyone know of an example of how to populate a multi-lvel CFTREE control from a query. There are doc examples showing hard coding the levels, but I can't seem to find one showing how to populate from a query. TNX if you can provide a pointer. Rick Colman

Re: Possible race conditions, need locking?

2007-07-17 Thread Josh Nathanson
This is not somewhere where a named lock should be required. This is a case of a variable somewhere along the stream not being var'd properly. Update: it was a var-ing issue. Thanks for the help. -- Josh ~| ColdFusion MX7

Re: Session Variable Types

2007-07-17 Thread Charlie Griefer
On 7/17/07, Ben Doom [EMAIL PROTECTED] wrote: Charlie Griefer wrote: J2EE sessions end on browser close. traditional cf sessions do not. Now that's some useful information. All I have to do is figure out how it can be useful in my immediate future to clarify on that... there is one

Re: Session Variable Types

2007-07-17 Thread Brian Kotek
Just a note that it's also easy to make normal CF sessions end on browser close by copying the cfid and cftoken cookie into a session-only cookie. It's about 4 lines of code. On 7/17/07, Ben Doom [EMAIL PROTECTED] wrote: Charlie Griefer wrote: J2EE sessions end on browser close. traditional

RE: Session Variable Types

2007-07-17 Thread Peterson, Chris
Eek, I don't know that I agree with you on that one Ray. If you really don't care if the viewed page stats is accurate, why bother coding it at all? Maybe I'm just bitter, because I do internal reporting and have to prove my numbers to the nth degree, but I would never put out a number I thought

Re: Session Variable Types

2007-07-17 Thread Charlie Griefer
aye... cfif IsDefined( Cookie.CFID ) AND IsDefined( Cookie.CFTOKEN ) cfset localCFID = Cookie.CFID cfset localCFTOKEN = Cookie.CFTOKEN cfcookie name=CFID value=#localCFID# cfcookie name=CFTOKEN value=#localCFTOKEN# /cfif On 7/17/07, Brian Kotek [EMAIL PROTECTED] wrote: Just

Re: apache - iis gotchas?

2007-07-17 Thread Claude Schneegans
don't ask, it doesn't matter why Why not? ;-) -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks.

Re: Session Variable Types

2007-07-17 Thread Rick Root
On 7/17/07, Charlie Griefer [EMAIL PROTECTED] wrote: to clarify on that... there is one point of contention in the comments section of the docs regarding this... http://livedocs.adobe.com/coldfusion/7/htmldocs/1163.htm that's interesting. I have to agree that the session does NOT end

Re: Session Variable Types

2007-07-17 Thread Charlie Griefer
On 7/17/07, Rick Root [EMAIL PROTECTED] wrote: On 7/17/07, Charlie Griefer [EMAIL PROTECTED] wrote: J2EE sessions end on browser close. traditional cf sessions do not. Is that documented somewhere? http://livedocs.adobe.com/coldfusion/7/htmldocs/1163.htm (again tho... make sure you

RE: CF8 and encrypted files

2007-07-17 Thread Jim Rising
Wow. This would be a huge bummer if everyone needed to re-encrypt all of their previously encrypted files to get them to work on CF8. I have lots of tags and such that I have picked up along the way and still use, but the original developers are now since unavailable. I would hate to have to

Re: Session Variable Types

2007-07-17 Thread Jochem van Dieten
Peterson, Chris wrote: Eek, I don't know that I agree with you on that one Ray. If you really don't care if the viewed page stats is accurate, why bother coding it at all? Maybe I'm just bitter, because I do internal reporting and have to prove my numbers to the nth degree, but I would never

Re: SOT: managing multiple dev environments

2007-07-17 Thread John Paul Ashenfelter
On 7/17/07, Kris Jones [EMAIL PROTECTED] wrote: Thanks so much Barney. We had written a tool to do cross-site updates for SQL integration, but it hasn't been proven-out yet, so it'll be good to see how your tool handles this issue. Will download and read included docs now! Tom John, we do

Re: session vulnerabilities

2007-07-17 Thread Rick Root
On 7/17/07, Michael Traher [EMAIL PROTECTED] wrote: Unfortunately this may exclude AOL users that can end up getting different IP addresses per request because of the proxy setup they have. I've *HEARD* of that potentially being a problem. But never seen actual proof. In fact, phpBB does

Re: Session Variable Types

2007-07-17 Thread Charlie Griefer
true... it shows that i've not yet fully embraced Application.cfc, eh? :) On 7/17/07, Raymond Camden [EMAIL PROTECTED] wrote: I think you should be a bit careful on wording here. Doing structClear on a session will NOT timeout the session. It just removes the data in it. So for example,

Re: Read apache environment variables in CFMX/j2EE

2007-07-17 Thread Hansjoerg
Found it. According to the documentation, CGI variables seem to be some sort of own thing in CF. They do not appear in a CFDUMP, StructKeyExists will always return true and even if a variable does not exist, an empty string will be returned ;-) I always tried to check the existance with a

Re: apache - iis gotchas?

2007-07-17 Thread J.J. Merrick
I use apache on my local dev box(so I can have multiple sites running) and most of my applications deploy to IIS. The only thing I would say is if it uses apache stuff like mod_rewrite or things like that. Otherwise you should have no problem moving to IIS. J.J. On 7/17/07, John Paul

Re: quot;Change Logquot; on database updates - need some ideas

2007-07-17 Thread Ted Johnson
Even tho this is an old thread, i wanted to dive in. Great discussion around AJAX traditional html forms processing. We are currently seeing a huge disadvantage of AJAX--at least the way this particular app is written. We have huge pipes, so returning to the server is not an issue.

RE: apache - iis gotchas?

2007-07-17 Thread Dave Watts
Any particular gotchas I need to worry about? Filesystem ACLs and authentication are both quite a bit different, although that may not be relevant for your site. Also, if you're using Flash Remoting, you may need to ensure that the appropriate virtual directories are created for each site, if I

cfqueryparam and XML

2007-07-17 Thread Chad Gray
I am writing a create database record function in my CFC. Now one argument that is being passed in is data type of XML. So I use cfargument and set the type to XML. Now when I am doing my INSERT into the database I am using cfqueryparam and noticed there is no cfsqltype of XML. What should I

Re: Session Variable Types

2007-07-17 Thread Brian Kotek
It's the ability to replicate the sessions across a cluster that is the crucial difference between J2EE session and non-J2EE sessions. On 7/17/07, Rick Root [EMAIL PROTECTED] wrote: Either way, it's not *THAT* different from regular coldfusion session variables, except that the session COOKIE

Re: cfqueryparam and XML

2007-07-17 Thread Alan Rother
The CFQUERYPARAM type is supposed to match the type of column you are inserting into. Typically, dumping XML into a standard MSSQL database I would assume your column type is either text or ntext. If you are using MS SQL 2005... Which has an XML type for the columns... hmm I'd still use the

expected behavior of cflock without name or scope attribute?

2007-07-17 Thread Joyce Young
Hello, I am curious as to what the expected behavior of cflock should be without without a name or scope attribute: Sample Code: cflock timeout=60 throwontimeout=Yes !--- setting of session variables --- /cflock Running CFMX 6.1, using FuseBox 3 (this is in the FBX_FUSEBOX30_CF50.CFM file)

Re: cfqueryparam and XML

2007-07-17 Thread Robertson-Ravo, Neil (RX)
Why would you use text? The XML datatype is designed specifically for XML. If you are using XML and need XML in the DB and plan to use XML / XPath - use XML datatype. This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, Richmond, Surrey, TW9 1DN, United Kingdom), a

Color coding SQL

2007-07-17 Thread Brad Wood
Has anyone written any CF code to take a SQL statement and apply the same color coding that MS Query Analyzer does for display purposes. I am playing with some of the pimp info available from sys.dm_exec_requests and sys.dm_exec_sql_text is MS SQL 2005 and I wanted to create page which would

RE: cfqueryparam and XML

2007-07-17 Thread Chad Gray
Ya... sorry I should have said MS SQL 2005 and the datatype is XML. I experimented and used cf_sql_varchar with both a CF XML object and plain old text and both worked fine. The CF XML object must be pretty close to plain old text. I wonder if CF8 will have an XML type to support MS SQL 2005.

Re: Session Variable Types

2007-07-17 Thread Raymond Camden
It depends. :) I mean seriously - consider your example of a session variable for a hit counter. If you don't lock it, I could in theory open a bunch of tabs and make that # inaccurate. So, um, who cares? I've made my own hit count high. Unless you are running a contest, it doesn't matter. So my

Re: Deleting multi-value attributes with CFLDAP

2007-07-17 Thread Andrew Spear
Thanks M!ke! CFLDAP was tripping up on the commas in the value of my attributes parameter. You sent me down the right track, and I found that the separator parameter was defaulting to , which was matching the commas in my DN string. Did you try specifying the DELIMITER in your CFLDAP tag? I

Re: verity: CF MX 6.1 recordcount neq recordssearched

2007-07-17 Thread Raymond Camden
if you change your criteria to *, do you get the same results? On 7/17/07, John Stottlemire [EMAIL PROTECTED] wrote: Use of these tools show identical results. The first 51 records within the query.recordset are missing from the verity collection. We've even added more records to the table

  1   2   >