Rather than locking the server scope with every request - which could get a
bit nasty in a shared environment if others are doing the same - you'd
probably be better off replacing this logic with a straight call to the
relevant core file.

The only reason i can see for having this stuff is if you expect people to
be installing your app on all sorts of OS's and versions of CF., and AFAIK
that is the reason this code is in most of the Fb3 demos....

Bert

> -----Original Message-----
> From: Balazs Wellisch [mailto:[EMAIL PROTECTED]]
> Sent: 19 April 2002 23:47
> To: [EMAIL PROTECTED]
> Subject: RE: FB3 core files problem ?
> 
> 
> In the index.cfm file put a cflock around the relevent code:
> 
> <cflock timeout="10" throwontimeout="No" type="READONLY" 
> scope="SERVER">
>       <cfset
> variables.fuseboxVersion=Replace(Replace(ListDeleteAt(server.c
> oldfusion.prod
> uctVersion,4),",","","all")," ","","all")>
>       <cfset variables.fuseboxOSName=server.os.name>
> </cflock>
> 
> Balazs
> 
> 
> -----Original Message-----
> From: Oguz Demirkapi [mailto:[EMAIL PROTECTED]]
> Sent: Friday, April 19, 2002 2:06 PM
> To: [EMAIL PROTECTED]
> Subject: FB3 core files problem ?
> 
> 
> Hi,
> 
> We have a website (cftr.net) that is FB3 based. There was no problem
> since today, but I think there are some security settings 
> have been made
> at our hosting company(media3.net)'s CF server and now we got 
> error like
> below.
> 
> Thanks in advance for your solution suggestins.
> 
> Regards,
> 
> Oguz Demirkapi <[EMAIL PROTECTED]>
> 
> 
> 
> 
> ~~~~~~~~~ Error Message ~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> Error Occurred While Processing Request
> Error Diagnostic Information
> 
> An error occurred while evaluating the expression:
> 
> "#server.coldfusion.productVersion#"
> 
> Error near line 6, column 32.
> --------------------------------------------------------------
> --------------
> ----
> Symbol server.coldfusion.productVersion is in a scope that 
> contains data
> shared across threads and cannot be accessed without an active lock
> 
> The error occurred while processing an element with a general 
> identifier of
> (CFLOCK), occupying document position (6:1) to (6:79).
> 
> Date/Time: 04/19/02 16:55:46
> Browser: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR
> 1.0.3705)
> Remote Address: x.x.x.x
> 
> ~~~~~~~~~ End Error Message ~~~~~~~~~~~~~~~~~~~~~
> 
> 
> 

==^================================================================
This email was sent to: [email protected]

EASY UNSUBSCRIBE click here: http://topica.com/u/?bUrFMa.bV0Kx9
Or send an email to: [EMAIL PROTECTED]

T O P I C A -- Register now to manage your mail!
http://www.topica.com/partner/tag02/register
==^================================================================

Reply via email to