See answers below
> Hi Jeremy,
>
Jamie worte: You're right in that we can use JS, but as I wrote, we can't *rely* on it. IOW, we have to have some failsafe way to accomplish the same task if the user has JS turned off. This has to do with 508 compliance as well as specific client requirements.
I understand the need to make sure applications work without the use of _javascript_. However, this client requirement has nothing to do with Section 508! For a long (informative and technical) discussion on this subject see
http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid=29850&forumid=4&count=47.
(Besides AFAIK, JS could only
> tell me where the user *was,* as opposed to where the user *is,*
> right?)
Jamie wrote:
> There are some times when I would like to have the entire requested
> URL. I can piece it together, for the most part, from various cgi
> vars, but I don't know how to recreate it *exactly.*
See Dave Watts's response on how web server headers are created. Remember too that CGI varaibles are varables available from Cold Fusion from the webserver. If you're using IIS the right combination would be
#cgi.url#?#cgi.query_string# (these can differ depending on your webserver). While we're on the subject, you might want to turn on debugging on your development server as well so you can see everything being passed to the CF application.
Jamie wrote: Say, for
instance, that I want to know if the URL contained a basic HTTP login,
or if it did or didn't specify a port.
Depending on your webserver CGI.Server_port will provide the port number of the request.
Could you tell me if I'm reading you correctly? Do you mean you're passing login information through a url variable?
Jeremy Brodie
Edgewater Technology
web: http://www.edgewater.com
phone:(703) 815-2500
email: [EMAIL PROTECTED]
> On Mon, 02 Feb 2004 12:52:07 -0400, in cf-talk you wrote:
>
> >Jamie wrote: "Unfortunately, we do Government work, so we can't rely
> on _javascript_."
> >
> >Could you elaborate why? Every US Government contract I've worked on
> did not prohibit the use of _javascript_.
> >
> >Also, could you elaborate what you are attempting to do? This way the
> group can figure out the best way of pulling the information you need
> for your application, as well as how you will be hosting your
> application (one server, many servers).
> >
> >
> >
> >Jeremy Brodie
> >Edgewater Technology
> >
> >web: http://www.edgewater.com
> >phone:(703) 815-2500
> >email: [EMAIL PROTECTED]
> >
> >
> >>Unfortunately, we do Government work, so we can't rely on _javascript_.
>
> >>
> >>So the answer's no? ;-)
> >>
> >>Jamie
> >>
> >>On Thu, 29 Jan 2004 14:25:07 -0500, in cf-talk you wrote:
> >>
> >>>You could just use _javascript_. That way it wouldn't matter what
> version
> >>>of CF you are using.
> >>>
> >>>
> >>>
> >>>Ben
> >>>
> >>>
> >>>
> >>>-----Original Message-----
> >>>From: Jamie Jackson [mailto:[EMAIL PROTECTED]
> >>>Sent: Thursday, January 29, 2004 1:59 PM
> >>>To: CF-Talk
> >>>Subject: Obtaining Request URL
> >>>
> >>>
> >>>
> >>>Just curious, is there a way to get the entire requested URL in
> CFMX?
> >>>That is, *not* a manually pieced-together string of cgi vars?
> >>>
> >>>Thanks,
> >>>Jamie
> >>>
> >>> _____
> >>>
> >>>
> >>>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

