Thank you I will use the full path. -----Original Message----- From: Jochem van Dieten [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 07, 2003 6:43 PM To: CF-Talk Subject: Re: stupid newbie tricks
Dave Watts wrote: > > You can simplify this as shown here: > > <cfif Session.AllowIn neq "true"> > <cfif CGI.SCRIPT_NAME does not contain "login"> I would caution using against using contain. If your webserver adheres strictly to the formal definition of a URL, the URL "http://domain.com/index.cfm;login" might return a script_name of "index.cfm;login", which would be very undesirable. Jochem ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

