On Mon, 28 Feb 2005 20:30:35 -0000, Adrian Lynch  wrote:
> Wow, you were right about there being a lot happening in there!

Told you so. :)

> You seem to have code that looks at CFID and CFTOKEN in the URL:
> 
> <CFIF isDefined("URL.CFID") AND ListLen(URL.CFID) GT 1>
>         <CFSET URL.CFID = ListGetAt(URL.CFID, 1)>
> </CFIF>
> <CFIF isDefined("URL.CFTOKEN") AND ListLen(URL.CFTOKEN) GT 1>
>         <CFSET URL.CFTOKEN = ListGetAt(URL.CFTOKEN, 1)>
> </CFIF>
> 
> I don't think it has anything to do with the problem but I don't see when
> either of those two code blocks will be entered. ListLen(URL.CFIF) GT 1 will
> use a comma as the delimiter and neither CFID or CFTOKEN contain commas as
> far as I know and will never be greater than 1. Ignore this if this is
> something other than what it seems.

Yeah, that's some legacy code I don't even know what the point of it
is.  My suspicion is that it doesn't do anything (we have a lot of
code that's in the app for no apparent reason).

> That's the first thing that sprung to mind, the second was where you look at
> CGI.PATH_INFO. Is this working as it should? Could you maybe reduce this to
> only two possible application names to make sure that isn't effecting
> anything?

When doing these tests, I'm outputting the application name variable
(as determined from the application scope) and verifying that the two
application names are different.  I'm also dumping the session scope
(which includes the session id [made up of the app name, cfid, and
cftoken variables in an underscore-delimited list).

Scott

-- 
-----------------------------------------
Scott Brady
http://www.scottbrady.net/

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:196864
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to