How often does the variable need to be updated? OnRequestStart will execute
prior to every page request. If it less frequent than that, I would
recommend putting it in the application start. You can use onRequestStart
to check to see if the variable needs to be updated in the application
scope.
Teddy
On 10/18/06, Brian Peddle <[EMAIL PROTECTED]> wrote:
>
> In my onRequestStart a variable is set for request.user .... some
> processing is done and it never really needs to be updated again. Im
> trying to do <cfif isdefined("request.user")> to see if it has been set
> in the onrequeststart but it is never defined.
>
> As I write this I am guessing the request variable needs to be set each
> time in there to.
>
> First Page Load --- event.user is set
> Second Page --- check if event.user is set, but I guess it may not carry
> page to page?
>
> Not sure if I am being clear enough.
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four
times a year.
http://www.fusionauthority.com/quarterly
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:257215
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4