User Profile

Collapse

Profile Sidebar

Collapse
garethharvey
garethharvey
Last Activity: Apr 15 '11, 03:09 PM
Joined: Apr 9 '08
Location: South Wales
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • I have changed the properties to show the error, it's not a session cookie issue as I anticipated but a database connections issue. It's not allowing me to connect to my database with ODBC connection. Current connection string:


    DIM conn
    ConnectString = "driver={My SQL ODBC 3.51 Driver};server= " & dbServer & ";uid=" & dbUser & ";pwd=" & dbPassword & ";database= "...
    See more | Go to post

    Leave a comment:


  • classic ASP running on Windows 2008 server

    we are moving our site to a Windows 2008 server (currently on Windows 2003), I am having problems with session cookies.

    Any page that is protected with a session cookie is producing the following error:

    An error occurred on the server when processing the URL. Please contact the system administrator.

    If you are the system administrator please click here to find out more about this error.

    ...
    See more | Go to post

  • I recently bought asppdf and installed it on my server, converting xsl files in no time with a simple bit of code.
    See more | Go to post

    Leave a comment:


  • garethharvey
    replied to Asp Xml
    Are you using an xsl style sheet to parse the data?

    If so, you could use a function in the head of the style sheet as follows:

    Code:
    <![CDATA[ 
        Function checknode(var)
    	IF var> THEN checknode=var **- perform what ever function you need here.
        End Function
      ]]>
    The in the body of the XSL sheet:

    Code:
    <xsl:value-of select="user:checknode(string(effectiveDate))"
    ...
    See more | Go to post

    Leave a comment:


  • garethharvey
    replied to securing XML data
    in XML
    No, we don't currently encrypt any data as the information passed to date is not 'sensitive data'.

    We are due to release a new section to our programme where sensitive data will be required, we have a policy that the site requesting the data is called through a SSL page and the data is requested on our site through an SSL page.

    We can reject the data if the referring URL is not https://

    I'm just a little...
    See more | Go to post

    Leave a comment:


  • garethharvey
    started a topic securing XML data
    in XML

    securing XML data

    We need to share sensitive XML data between servers, both servers run with SSL certificates and the XML file is transferred via https://

    Would there be any additional need to encode the data?
    See more | Go to post

  • garethharvey
    replied to posting info to a remote server
    The infor is being cleaned prior to sending, so a simple replace " ","+" solved the problem.
    See more | Go to post

    Leave a comment:


  • garethharvey
    replied to posting info to a remote server
    Just spotted another problem, the information being posted is:

    e.g.

    Mr Gareth Harvey

    but is getting written to the database as:

    MrGarethHarvey

    It's stripping out all the spaces? Don't know why
    See more | Go to post

    Leave a comment:


  • garethharvey
    replied to posting info to a remote server
    Thanks Dr B

    Tried a few things but modified the code to:

    Code:
     dim xmlhttp 
    set xmlhttp = server.Createobject("MSXML2.ServerXMLHTTP")
    xmlhttp.Open "POST","http://www.website.co.uk/xmlfeed/instruct.asp",false
    xmlhttp.setRequestHeader "Content-Type", "application/x-www-form-urlencoded"
    xmlhttp.send DataToSend	
    status = xmlhttp.status 
    if err.number
    ...
    See more | Go to post
    Last edited by DrBunchman; Apr 18 '08, 12:16 PM. Reason: Added code tags - note the # button

    Leave a comment:


  • garethharvey
    replied to posting info to a remote server
    Thanks Dr B

    this is the scenario:

    I have a form processor on our server that received the info and then processes it into our database. The affiliates post the info to us from their websites as follows:

    Code:
    DataToSend = "instruct=instruct&quotationnumber="&quotationnumber&"&partnerid="&partnerid
    
    dim xmlhttp 
    set xmlhttp = server.Createobject("MSXML2.ServerXMLHTTP")
    ...
    See more | Go to post

    Leave a comment:


  • garethharvey
    started a topic posting info to a remote server

    posting info to a remote server

    I have a page that processes a request from affiliates, the form processed the info and writes it to our database.

    How can I tell the affiliate if the process was successful or not?

    Is there something I could write at the end of the process for them to collect?
    See more | Go to post

  • garethharvey
    replied to Help - script stopped working
    Problem solved, I think it was caused by the new IP addresses that we added yesterday
    See more | Go to post

    Leave a comment:


  • garethharvey
    replied to upload and how to refer files
    You can get the file name from:

    <%
    outputform()
    Response.Write savefiles()
    file_name=savef iles()
    %>

    file_name being the name of the file you have uploaded.
    See more | Go to post

    Leave a comment:


  • garethharvey
    started a topic Help - script stopped working

    Help - script stopped working

    Hello, I am new here, but read many posts over the past year or so which has helped my business.

    We have a dedicated server running a script to call a remote XML file using the following code:
    Code:
     strXSLFile=server.MapPath("comparison.xsl") 
    remote_file_name="theadvisory-p.xml"
    response.ContentType="text/html"
    dim objXML, objXSL
    set objXML=server.CreateObject("MSXML2.DOMDocument")
    ...
    See more | Go to post
    Last edited by DrBunchman; Apr 23 '08, 08:15 AM. Reason: Added code tags - note the # button
No activity results to display
Show More
Working...