Thanks Jeffry

----- Original Message -----
From: "Jeffry Houser" <[EMAIL PROTECTED]>
Newsgroups: cf-talk
Sent: Wednesday, September 05, 2001 6:21 PM
Subject: RE: Looping through 5 session vars


>
>   I would do one CFIF:
>
> <CFIF (not IsDefined("session.myvar")) or (not
isDefined("session.myvar2"))
> or (not IsDefined("session.myvar3")) or (not IsDefined("session.myvar4"))
> or (not IsDefined("session.myvar5"))>
>   <CFLOCATION>
> </CFIF>
>
>   Don't forget to do a read-only lock to the above statement.  No loop
needed.
>
>
> >Hi,
> >
> >I need to loop through 5 session variables to check if any one of them
> >hasn't been defined. (and if so, cflocation the user).
> >
> >How can I do this?
> >
> >Thanks
> >
> >Will
> >
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to