How are you defining the application name? If the app name is based on
the current path, a redirection might actually jump to another
application "scope" and therefore a new session. 


......................
Ben Nadel
Certified Advanced ColdFusion MX7 Developer
www.bennadel.com
 
Need ColdFusion Help?
www.bennadel.com/ask-ben/

-----Original Message-----
From: Leitch, Oblio [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 26, 2007 11:35 AM
To: CF-Talk
Subject: onSessionStart running twice?

I'm developing an application that stores the session info in a db
"onSessionStart".  Under certain conditions, onRequestStart, it
redirects to a different location that inherits the original
onSessionStart method.  The odd thing is, it's saving a second record in
the db - evidence that the method is being called again.  I thought it
only runs once - when the session is started.  I assumed that a redirect
wouldn't cause the session to be restarted.

 

Any thoughts?


This email message may contain privileged and/or confidential
information. If you are not the intended recipient(s), you are hereby
notified that any dissemination, distribution, or copying of this email
message is strictly prohibited. If you have received this message in
error, please immediately notify the sender and delete this email
message from your computer.





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:270678
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