Google Groups Home
Help | Sign in
Message from discussion sessions and application.cfc
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Jim Priest  
View profile
 More options May 8, 1:38 pm
From: Jim Priest <pri...@thecrumb.com>
Date: Thu, 8 May 2008 10:38:19 -0700 (PDT)
Local: Thurs, May 8 2008 1:38 pm
Subject: Re: sessions and application.cfc
On May 8, 1:25 pm, Jim Priest <pri...@thecrumb.com> wrote:

> Now I'm having an issue with session variables.  I've got a
> 'checklogin' plugin that uses session vars - but onSession start
> doesn't seem to be getting hit before the plugin is called and I get
> an error that my objSession hasn't been defined.

OK - found this quote (from Peter I think)

-------
If you are trying to create session objects at the beginning of the
request.  It's best to do that in the onSessionStart() method of your
Application.cfc -- I typically use that to call something like
getProperty("userFacade").onSessionStart() -- this assumes you have
stashed a reference of the userFacade in the mach-ii props and that
you
have created a method in your facade called onSessionStart.
-------

So how would I define this "userFacade" property?

Jim


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google