I think I speak for all people in all places and at all times in condemning
the very asking of such a question! Nah--I'm lying. There's nothing wrong
with the question. The reason for attributes is that if a CF page is called
as a custom tag, then the variables sent to it must be prefixed with the
attributes. notation. Instead of having two versions of the code, we just
convert everything to an attributes scope and are finished with it.

-----Original Message-----
From: McCollough, Alan [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 17, 2000 11:39 AM
To: '[EMAIL PROTECTED]'
Subject: RE: Need to toggle URL and FORM vars


OK, I'm now going to ask a question that is so shocking, so inane, that I've
gotta gotta ask it.

I have never understood fully the benefits of using attributes. scoped
variables instead of form. or url. scoped variables. Could somebody please
enlighten me? I'm sure I got beat up on the CF Developer's test on those
questions...

Alan McCollough
Web Programmer
Alaska Native Medical Center

> -----Original Message-----
> From: Fred T. Sanders [SMTP:[EMAIL PROTECTED]]
> Sent: Saturday, July 15, 2000 7:54 AM
> To:   [EMAIL PROTECTED]
> Subject:      Re: Need to toggle URL and FORM vars
>
> well if your using formurl2attributes, then you can code them as
> attributes.
> scoped variables and it won't matter how your getting them.
>
> Fred
>
> ----- Original Message -----
> From: "CM Randall" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Saturday, July 15, 2000 11:22 AM
> Subject: Need to toggle URL and FORM vars
>
>
> > I'm working with a site that is going to send me vars using either URL
> or
> > FORM variables.  I have the code done for accepting URL variables and I
> want
> > to find an easy way to dynamically convert all my URL.vars to be
> FORM.vars
> > in my code.  I can setup a CFIF statement to check and then send the
> script
> > to the correct code (either URL or FORM) but then I would have two code
> sets
> > to manage.
> >
> > Is there a way to modify my current code to accept the other servers
> > variables no matter if they are sending URL or FORM vars?  The code for
> both
> > is 100% identical.
> >
> > Thanks,
> > --RC
> >
> > ________________________________________________________________________
> > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
> >
> >
> --------------------------------------------------------------------------
> ----
> > To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or
> send a message to [EMAIL PROTECTED] with 'unsubscribe' in
> the body.
> >
>
> --------------------------------------------------------------------------
> ----
> To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or
> send a message to [EMAIL PROTECTED] with 'unsubscribe' in
> the body.
----------------------------------------------------------------------------
--
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

------------------------------------------------------------------------------
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to