Ask a Question related to Coldfusion Server Administration, Design and Development.
-
donatavant #1
Preventing OnSessionEnd from firing for each instancein a cluster.
Hi,
I have a clustered setup of three computers each with a cf server instance
configured in a round-robin cluster with J2EE session variables enabled to
replicate session data. I read some where that session replication only occurs
upon a request and there's no way to replicate data in the application scope.
I'm only pushing data to the servers and the data is being updated frequently.
My problem is that because I'm only pushing data to the servers, the servers
will have inconsistent data and each of them fires the OnSessionEnd function.
Is there any way I can guarantee that they all have the lastest version of data
and that only one of the servers fires the OnSessionEnd function? And if that
assigned server fails, have it failover to another server?
In the OnSessionEnd function I'm writing to the db, and I'm trying to avoid
have to write a stored procedure to filter the data to find the latest
timestamp for each session.
Any help would be appreciated.
Thanks,
Don
donatavant Guest
-
onSessionEnd Not Firing
I'm having a problem getting onSessionEnd to run when the session times out. I copied the code off of the CF doc pages and it doesn't create the log... -
OnSessionEnd
I am programming an application, and I would like to file in a database the exact time at which a visitor arrived to a certain page and then shut... -
onSessionEnd()
I am currently programming an app and would like to make it so that if the user leaves the browser open and their session times out, it will kick... -
onSessionEnd problem
I have this UDF being called in the function onSessionEnd in my application.cfc file: <cffunction name="writeUserData" access="public"... -
Sun cluster
Hy, i have to install cluster of 2 nodes of solaris 9 with each 2 Fiber card. The storedge is a 2 x 3510FC My question is about storedge why i need... -
BKBK #2
Re: Preventing OnSessionEnd from firing for eachinstance in a cluster.
In a cluster environment, I would, in any case, store the session variables in the database, relating it with the data if and where necessary. That way, there'll be no fear of inconsistency.
BKBK Guest



Reply With Quote

