That is correct.
The following should allow you to access the URL structure in 4.0 and above
by creating a structure called URL for versions which don't automatically
provide the URL vars in a struct.
<CFSET VersionA=ListGetAt(Server.ColdFusion.ProductVersion,1)>
<CFSET VersionB=ListGetAt(Server.ColdFusion.ProductVersion,2)>
<CFSET VersionC=ListGetAt(Server.ColdFusion.ProductVersion,3)>
<CFSET VersionCurrent=VersionA+VersionB/10+VersionC/100>
<CFSET VersionRequiredForStruct=4.5>
<CFIF VersionCurrent lt VersionRequiredForStruct>
<cfset url=StructNew()>
<cfloop list="#cgi.query_string#" index="ValuePair" delimiters="&">
<cfset StructInsert(url, ListFirst(ValuePair, "="), ListLast(ValuePair,
"="))>
</cfloop>
</CFIF>
Steve
> -----Original Message-----
> From: Dennis Grady [mailto:[EMAIL PROTECTED]]
> Sent: Monday, October 16, 2000 12:38
> To: CF-Talk
> Subject: RE: url variables
>
>
> If I'm not mistaken there is no url structure in 4.0. URL
> variables weren't
> dropped into a structure until 4.5.
>
> __________________________
> Dennis P. Grady
> Fig Leaf Software
> Senior Developer/Team Leader
> Certified Allaire Trainer
> W: 202.797.5450
> F: 202.797.5444
>
> -----Original Message-----
> From: Jon Hall [mailto:[EMAIL PROTECTED]]
> Sent: Monday, October 16, 2000 7:28 AM
> To: CF-Talk
> Subject: Re: url variables
>
> Thanks Steve. The only problem is that this only seems to work on 4.5
> servers. On my 4.0 server I get an Error resolving parameter URL, error.
> Seems to me that the URL structure is either named something else or there
> is a totally different way of getting it.
>
> hmmm
>
> jon
>
> ----- Original Message -----
> From: "Steve Martin" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Monday, October 16, 2000 5:36 AM
> Subject: RE: url variables
>
>
> > StructKeyList(URL)
> >
> > Steve
> >
> > > -----Original Message-----
> > > From: Jon Hall [mailto:[EMAIL PROTECTED]]
> > > Sent: Monday, October 16, 2000 10:26
> > > To: CF-Talk
> > > Subject: url variables
> > >
> > >
> > > This is a multi-part message in MIME format.
> > >
> > > ------=_NextPart_000_0011_01C03731.8F6351F0
> > > Content-Type: text/plain;
> > > charset="iso-8859-1"
> > > Content-Transfer-Encoding: quoted-printable
> > >
> > > Anyone know how I can get a list of all URL variables?
> > >
> > > I know the #query_string# variable gives all the url parameters but =
> > > that's not what I need.
> > >
> > > jon
> > >
> > > ------=_NextPart_000_0011_01C03731.8F6351F0
> > > Content-Type: text/html;
> > > charset="iso-8859-1"
> > > Content-Transfer-Encoding: quoted-printable
> > >
> > > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> > > <HTML><HEAD>
> > > <META content=3D"text/html; charset=3Diso-8859-1" =
> > > http-equiv=3DContent-Type>
> > > <META content=3D"MSHTML 5.00.3018.900" name=3DGENERATOR>
> > > <STYLE></STYLE>
> > > </HEAD>
> > > <BODY bgColor=3D#ffffff>
> > > <DIV><FONT face=3DArial size=3D2>Anyone know how I can get a
> list of all
> =
> > > URL=20
> > > variables?</FONT></DIV>
> > > <DIV> </DIV>
> > > <DIV><FONT face=3DArial size=3D2>I know the #query_string# variable =
> > > gives all the=20
> > > url parameters but that's not what I need.</FONT></DIV>
> > > <DIV> </DIV>
> > > <DIV><FONT face=3DArial size=3D2>jon</FONT></DIV></BODY></HTML>
> > >
> > > ------=_NextPart_000_0011_01C03731.8F6351F0--
> > >
> > > ------------------------------------------------------------------
> > > ------------
> > > Archives: http://www.mail-archive.com/[email protected]/
> > > To Unsubscribe visit
> >
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
> send a message to [EMAIL PROTECTED] with 'unsubscribe' in
> the body.
>
> --------------------------------------------------------------------------
----
> Archives: http://www.mail-archive.com/[email protected]/
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
----------------------------------------------------------------------------
--
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
----------------------------------------------------------------------------
--
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.