Not to mention you would no longer have to know how the variable was passed.
Great in a team environment. If your a single dev and not passing your code
around...... Then the lazy factor comes in.
Fred
----- Original Message -----
From: "Nat Papovich" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 17, 2000 11:49 AM
Subject: RE: Need to toggle URL and FORM vars
> You must not be a lazy coder (or at least you could be *more* lazy if you
> used attributes scope...)
>
> -----Original Message-----
> From: McCollough, Alan [mailto:[EMAIL PROTECTED]]
> Sent: Monday, July 17, 2000 8: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.
>
------------------------------------------------------------------------------
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.