Admittedly, my job can be very frustrating sometimes. Don't get me wrong, I love what I do and am thankful I have the rare opportunity to get paid for something I love to do. But sometimes, only sometimes, people don't want to listen to a professional, or they are listening too much to someone who is not a professional.
In response to an inquiry regarding Section 508 compliance and Washington State...
I don't believe it's a matter of how long. And I don't believe it's up to the state, as it is already a federal law. It's just not being enforced. There is not agency testing or enforcing these laws (the Department Of Education enforces laws pertaining to schools). I believe it's a matter of avoiding a lawsuit.
Using ColdFusion, I was able to solve this problem. I believe this can be done in any language which allows the setting and manipulation of cookies. Here is the code:
<cfset jscript = 0>
With the release builds of Firefox 2.0 available on their FTP servers come many new features, including "Live Titles."
I had an unusual problem to solve today. One of my applications generates signed documents using Microsoft Word. The user clicks a button and is prompted to open or save the word document. The signatures are important ones, and stored outside the webroot.
I solved this by referencing a coldfusion file in the src attribute of the image tag in the html that outputs the document. The file is called dynpic.cfm. So the image tag looks like this:
<img src="https://someserver.someschool.edu/production/someapp/dynpic.cfm?pic=chair" />
I've noticed another odd behavior in FireFox while using the XMLHttpRequest object. When posting to a page on a server that requires authentication, the first post will go through just fine. But the second post, without refreshing the page, will cause the server to want authentication. I'm not sure if this behavior was present in the previous version and this behavior his not present if the object is querying a page using get. Using post works fine using IE 7.
As I demonstrated, the XMLHttpRequest object can be used to query a page using the get method. The object can also query a page using the post method. It is a bit more difficult as one must create the request header. Here is an example:
I've been working with some aspects of the Ajax group of technologies lately. It sounds complicated and difficult to learn, but it really isn't. It uses the XMLHttpRequest object supported by many browsers. My current development requires I code for IE and Firefox, although it seems to be functional in Netscape.
To use the XMLHttpRequest object, I put together two simple functions and put them in a file named SimpleAjax.js. Here are the functions:
I needed a quick tag to detect if the page the tag resided in was called using a secure URL. Unfortunately, the CGI function was not easily found, so here it is.
<cfif CGI.HTTPS EQ "off">
<cfset NewLink = "https://" & #CGI.HTTP_HOST# & #CGI.PATH_INFO#>
<cfif #CGI.QUERY_STRING# NEQ "">
<cfset NewLink = NewLink & "?" & #CGI.QUERY_STRING#>