On 11/5/05, Mark Leder <[EMAIL PROTECTED]> wrote:
> Also, I tried taking out the locks in the two cfcs - still won't work.
> Restarted CF server, no change.
>
> This is really frustrating as this code has worked great (and is working
> right now) on other sites just using application.cfm with the var check
> <cfif NOT IsDefined("SESSION.browserSniffer")> run the cfc's </cfif>

Here's what I suspect is happening:

You are interacting with the site and therefore you have established a
session. You made changes to onSessionStart() or the code called by it
and when you tested it, nothing happened. That's because
onSessionStart() only runs when a session is created. Unless you are
closing your browser completely between tests (assuming J2EE session
variables) or deleting your CFID / CFTOKEN cookies, you will still be
in session and therefore onSessionStart() will not fire.

You can verify that by adding some <cflog> tags and looking in the
logs to see what is being executed.
--
Sean A Corfield -- http://corfield.org/
Got frameworks?

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:223345
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to