Re: Get Sessions from Application
Re: Get Sessions from Application
- Subject: Re: Get Sessions from Application
- From: Chuck Hill <email@hidden>
- Date: Wed, 5 Sep 2007 08:38:29 -0700
On Sep 5, 2007, at 1:10 AM, Daniele Corti wrote:
Hi all,
I've a problem with my last app:
We use our app as a WebService that provide license for our
products and donwload upgrades, and a Web Site for Support.
It has happen (today) that we make some changes, so shutdown the
app, while someone was downloading an update.
You can easly image that our customer wasn't happy about this....
I am wondering if this is really a code problem or just a deployment
administration problem. You need to make some app changes so you:
1. Install the new version
2. Create, configure, schedule and start X new instances of the
application
3. Unschedule the instances of the previous version and set to Refuse
New Sessions
Now the logged in users on the old version can finish what they were
doing. When their sessions time out, the apps will terminate. Users
arriving at your site after this get sent to the new instances.
No need for code changes.
Chuck
I was thinking to prepare a method in Application for searching
in active session if someone is logged in, and display it in the
admin panel, but I wasn't able to find out how to access to the
sessions.
Is there a way to do this, or not?
I will thank you for every advices!!!!
--
Daniele Corti
AIM: S0CR4TE5
Messenger: email@hidden
--
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden