Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. pigsie

    Unexpected Error in CFMX7 but not CFMX6.1

    Did you try changing all the variable names? Also have you checked the obvious things - are application variables actually enabled in the administrator? Do you have a cfapplication tag?
  2. pigsie

    How to prevent users to use same login as the same time

    What version of cfc? There are some undocumented functions you can use to track session http://tech.badpen.com/index.cfm?mode=entry&entry=3 But I would use this as a last resort as its undocumented try tracking them yourself...
  3. pigsie

    Unexpected Error in CFMX7 but not CFMX6.1

    Is the error still on the same line? Just trying to isolate which line is throwing the error. If its line 121 just as test trying changing the ldap cfc name in fact try changing all the names of the variables and cfcs just in case you have stumbled on some naming convention or reserved word...
  4. pigsie

    Getting Text Value From Select

    I concur, Ecar's solution is more elegant and doesn't rely on javaScript being enabled
  5. pigsie

    CF Flash Form, onKeyUp

    According to the livedocs for cfinput - there is an onKeyUp attribute which can be used to call javascript or actionscript if you are using flash forms. http://livedocs.macromedia.com/coldfusion/7/htmldocs/00000279.htm#1100379 There are libraries which allow communication via flash and...
  6. pigsie

    Pop up Login Window - All the Sudden

    what kind of login? A javascript or a brower login box? Are you using IIS? If so is aunonomous access disabled? Or is it one of your application's login forms?
  7. pigsie

    Single quote in a query within cfscript on CFMX7 is being replaced

    VZBCF, looking at your code - your function takes a number of arguments and uses them to build up a sql statement - I'm assuming that the statement is then executed within cfquery? <cfquery name=".." datasource=".." > #GetGenericRequestEvent_CreateTheSQLStatement(....)# </cfquery> or <cfset...
  8. pigsie

    Getting Text Value From Select

    One way to approach this would be to have hidden form fields which will contain the value you wish to pass. The onsubmit event of the form can call some javascript which populates the hidden field with the text of the selected index in the select (as opposed to the value). Then on the action...
  9. pigsie

    Unexpected Error in CFMX7 but not CFMX6.1

    What version of cf 7 or 7.01? If 7 do you have all the hoftixes installed? If you try to instantiate the cfc and then call the init does that make a difference? <cfset application.ldapCFC = CreateObject("component","templates.components.ldap_ad")> <cfset application.ldapCFC.init() />
  10. pigsie

    writing row output to txt file

    can I see some code? You can build up a variable and use cffile to write it to a file.
  11. pigsie

    I need something like an onclose event

    Actually as this is client side issue, javascript may be your best option - you could possibly use javascript when the page unloads to fire a remote request to the server. You will need to double check that this is possible as I am not 100% sure that the unload will always fire on a browser...
  12. pigsie

    Single quote in a query within cfscript on CFMX7 is being replaced

    sorry I should have been clearer. CF automatically escapes single quotes when in a query - IIRC there was a bug in earlier versions where if you used a variable to contain the string, it would *not* automatically escape the single quote which may be why it used to work
  13. pigsie

    Single quote in a query within cfscript on CFMX7 is being replaced

    use the preserveSingleQuote function - not sure whats changed since cf5 but I do know there was a bug where cf would not always escape the single quote in CF5
  14. pigsie

    Lisitngs help

    I'm based in the UK so I'm not familiar with MLS but I'd guess you need an MLS provider - to get listings and integrate it into your site. How the data is provided makes all the difference - if you can grab it in realtime as a webservice or xml feed then you can use cfhttp, if its a file you may...
  15. pigsie

    How often does your coldfusion site go down?

    When you say shared account do you mean you are on a shared server? If so then it is possible that other sites on the same server are bringing your server down - if possible I would look at getting a dedicated server (especially if your business depends on it).
  16. pigsie

    I thought CF was dead....

    Coldfusion is now very similar underneath to JSP, all coldfusion templates are compiled to servlets. However the syntax is lot more friendly, in the enterprise version you can have a jsp include a coldfusion template and vice versa, you can also share sessions between JSP apps.
  17. pigsie

    CF failing to include a file that is there

    is it always the same file missing? Are the custom tags and includes in the same directory? How are the values for request.module and request.module.version being set?
  18. pigsie

    connection verification failed

    It doesn't seem to be able to find the mdb in the path specified are you sure its in c:\\WINDOWS\\TEMP\\compasstravel.mdb
  19. pigsie

    I thought CF was dead....

    Coldfusion is far from dead! It was re-written a few years ago in Java and now it has even more built in - PDF generation, Flash forms (http://www.cfform.com/flashforms/gallery/53B844AC-4E22-1671-525CBDB11768303F/index.cfm), Coldfusion components, built in webservices support, flash charts and...
  20. pigsie

    Code Versioning Software

    Hi I would recommend you take a look at CVS or subversion, its free has a large user base and works well (although subversion is an improvement on CVS). Here is a good place to start http://www.socialpoints.com/blog/client/index.cfm/2006/2/24/Source-Control-With-CVS--beginners-guide

Part and Inventory Search

Back
Top