Michael,

I looked at the CGI variables in the debug output.  CGI.HTTP_COOKIE 
contains the correct JSESSIONID.  CGI.QUERY_STRING contains my url 
variables, but not the CFID or CFTOKEN.  However, session.urltoken 
contains JSESSIONID, CFID and CFTOKEN.

Do I need CFID and CFTOKEN explicitly in my URLs?  I thought the 
JSESSIONID was enough.

Michael Dinowitz wrote:
> Dump out your CGI scope and make sure that the variable values you are
> expecting are there. Along the same vein, the ucase is not needed as the
> basic comparison is case insensitive.
>
> <cfdump var="#cgi#">
>
> On Tue, May 27, 2008 at 12:58 PM, Carl Von Stetten <[EMAIL PROTECTED]>
> wrote:
>
>   
>>> Why do you have locks? CF single threads these methods automatically.
>>> Secondly, I'd get rid of the cfreturn even though it isn't doing
>>> anything. Lastly, try renaming your application temporarily. That
>>> would force new sessions to be created.
>>>
>>> On Tue, May 27, 2008 at 11:35 AM, Carl V
>>>       
>> Ray,
>>
>> Thank you for responding.  The lock was just there for troubleshooting.  I
>> removed it.  I also removed the return, and renamed the application.  My
>> variable still is not being initialized.
>>
>> Some further information - in my OnRequestStart function I check the URL
>> variable for the presence of "restart=true".  If it is found, it runs the
>> OnApplicationStart and OnSessionStart functions to reinitialize the
>> application.
>>
>> Snippet from OnRequestStart function:
>> <!--- If URL parameter "restart=true" is passed, reinitialize
>>        application and session variables --->
>> <cfif (UCase(Right(CGI.SCRIPT_NAME,3)) EQ "CFM") AND
>>        (UCase(CGI.SCRIPT_NAME) DOES NOT CONTAIN "/TESTING/") AND
>>        FindNoCase("restart=true",CGI.QUERY_STRING)>
>>        <cfset OnApplicationStart()>
>>        <cfset OnSessionStart()>
>> </cfif>
>>
>> If I put the "restart=true" into the URL and load the page, the "rd"
>> variable gets initialized.  It seems that OnSessionStart is not being
>> executed when I first access this site.  Don't understand why it's not
>> running.
>>
>> Carl
>>
>>
>>     
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306085
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to