clearing session variables across multiple applications

4 views
Skip to first unread message

jeff

unread,
Oct 31, 2009, 7:56:52 PM10/31/09
to model-glue
I have a program setup that is organized into "groups". Each group is
its own distinct model glue application, and each group has its own
distinct session.loggedin that I need to clear.

Is there an easy way to clear these session variables across the
groups, so that when a user logs out from one group, they can be
logged out of all?

sipa...@gmail.com

unread,
Oct 31, 2009, 8:02:36 PM10/31/09
to model...@googlegroups.com
Isn't the user session shared across all applications?



Sent from my Verizon Wireless BlackBerry

jeff

unread,
Oct 31, 2009, 9:14:44 PM10/31/09
to model-glue
I dont think so - at least not in my configuration. Each MG app has a
unique key. To verify I performed the following test:

1) Logged in to one group
2) verified I was automatically able to login to the other
3) Logged out of the 1st group
4) dumped session - observed that session var had been cleared
5) Moved on over to 2nd group, dumped session - session is NOT cleared
6) went back to 1st group, verified session was STILL cleared
7) back to 2nd group, session is still valid

Bear in mind I am dumping these session scopes in application.cfm
RIGHT after the cfapplication tag.

Chris Blackwell

unread,
Nov 1, 2009, 3:46:29 AM11/1/09
to model...@googlegroups.com
Does each model-glue application have its own application.cfm/cfc, and if so do they all have different application names?

2009/11/1 jeff <jeff.g...@gmail.com>

jeff

unread,
Nov 1, 2009, 1:21:21 PM11/1/09
to model-glue
No, they all share the same code base, including the same
application.cfm. Each has the same application name. What is
different is the ModelGlue_APP_KEY. Each group has a distinct one.


On Nov 1, 12:46 am, Chris Blackwell <ch...@team193.com> wrote:
> Does each model-glue application have its own application.cfm/cfc, and if so
> do they all have different application names?
>
> 2009/11/1 jeff <jeff.gladn...@gmail.com>
Reply all
Reply to author
Forward
0 new messages