Josh,

Thanks for the suggestion.  I'm using J2EE sessions and SetClientCookies 
is set to false, so no cookies are being created.  I've also verified 
that if I close my browser (FireFox 2) and then relaunch the browser and 
open the site, completely different values are assigned to JSESSIONID, 
CFID, and CFTOKEN.

Still the "rd" session variable is not being set.

Carl

Josh Nathanson wrote:
>> 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.
>>     
>
> The session is probably still active.  You need to delete your cftoken and 
> cfid cookies to allow a new session to be created.
>
> -- Josh
>
>
> ----- Original Message ----- 
> From: "Carl Von Stetten" <[EMAIL PROTECTED]>
> To: "CF-Talk" <cf-talk@houseoffusion.com>
> Sent: Tuesday, May 27, 2008 9:58 AM
> Subject: Re: Problem with onSessionStart
>
>
>   
>>> 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:306079
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