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: *

  • Users: jesse1
  • Content: Threads
  • Order by date
  1. jesse1

    Flash games for Droid

    I am trying to export flash games and install them on android based phones. Can anyone recommend any books or online resources? thanks
  2. jesse1

    IE8 setting cookies

    The following code works in IE7 and down but fails to set a cookie in IE8. Is anyone familiar with this problem. <cfoutput> <cfif url.sprok eq 2> <cfcookie name = "sp" > <cfcookie name = "sp" value = "#url.sprok#" expires = "never" > <cfelse> <cfcookie...
  3. jesse1

    htaccess + masking + CGI.SERVER_NAME

    I am using the following code to redirect to a subdomain: <cfset request.UrlStr = "http://"&#CGI.SERVER_NAME#&#CGI.PATH_INFO#> <cfif CGI.SERVER_NAME EQ 'www.demo.mydomain.com' or CGI.SERVER_NAME EQ 'demo.mydomain.com'> <cflocation url="http://www.mydomain.com/demo"></cfif> This works but...
  4. jesse1

    htaccess and masking

    I am using cgiServer_name to read the url and forward to the correct folder. But I want to mask the url. For example I have a sub domain "demo.mydomain.com" that points to mydomain.com/demo. It works but the url reads mydomain.com/demo, I want it to read demo.mydomain.com I was told to use...
  5. jesse1

    inserting date string into a smalldatetime

    One of the fields in a csv file is date of birth. The dates is retrieved correctly but Iget the followng error when trying to insert it, Error: Macromedia][SQLServer JDBC Driver][SQLServer]Conversion failed when converting character string to smalldatetime data type. INSERT INTO...
  6. jesse1

    duplicating tables

    I am a Coldfusion programer that uses SQL 2008 as a backend but am not proficient sql. I would like to write a script that I can use to duplicate tables. For example, I have table1Dem, table2Dem and table3Dem. I would like to duplicate table1Dem and table2Dem w/o carrying the data over...
  7. jesse1

    reReplace

    I am uploading a csv file and want to limit the fields to letter numbers and spaces. I am using the listfix function to replace empty csv fields with Null. The code below does not seem to work because it does not remove ,'s and .'s <cfset newI = #listgetAt('#index#',1, ',')#> <cfif newI neq...
  8. jesse1

    cfheader and cookies good idea????

    I have a site in spanish and english. I have the user click the Spanish if they want the Spanish version. I use the following code to set a cookie: <cfheader name="Set-Cookie" value="lang=#url.l# ; expires=NEVER"> I use cfif tags on all the pages to show the spanish version: <cfif...
  9. jesse1

    Problem with client login- Session ending early

    I am using the following code to allow users to login to a site. Some users have been getting bumped. Is there a problem with the way I set up my session variables? Do I need to make the variables more specific to a client? If so how? <!--- Get user's details from the database --->...
  10. jesse1

    Sanitizing user input

    i want to keep my users from entering harmful html or sql code. I thought of use one of the two solutions. I just want to know If these are efficient answers. The first one would have to be expanded but the concept is there. <cfset thecomments = #Replacelist(form.comments, "<, >", "&lt...
  11. jesse1

    convert date to string

    I am embarrassed to ask this but I am going crazy. I am using the following query. <cfquery name="dddd" username="rrrr" password="ddddd" datasource ="ggggg"> select sched_date, districth, districta, gameid, hour, minutes, meridian from spSchedule where sched_date =...
  12. jesse1

    CFLOCK When to use?

    Below is my login page andI use cflock when I create session variables. I think i used this correctly. But do I need to use CFLOCK on every query in the app or every time I just show a session variable? Also I am using Coldfusion 8 <!--- Get user's details from the database ---> <cfquery...
  13. jesse1

    form validation - date comparison

    I am new with javascript. I thought the folowing would work but it does not. The problem seems to be with the date validation section. Any help is appreciated. <script language="JavaScript" type="text/JavaScript"> function validate() { if (document.mainform.confname.value=="" ) {...

Part and Inventory Search

Back
Top