One thing you could do is this. If you keep track of your logged in users in some sort of file or db, loop through the active userreferences calling a purge.taf with <@URL> using the userReference of the logged in users.
So if there was 20 users logged in, it would loop 20 times. Each time using <@URL> to call a purge.taf file that just does a <@PURGE SCOPE="user">. Inside the <@URL> use the row's userReference.
Does that make sense? Good luck!
David Green [EMAIL PROTECTED]
Scott Cadillac wrote:
Robert is correct,
But an option could be to write a batch file/script to restart the Witango Service, and depending on how you configure PERSISTENTRESTART, that could potentially clean things up pretty good.
Maybe it's not what you're looking for, but I thought I would mention it.
Cheers....
Scott Cadillac,
403-281-6090 ~ [EMAIL PROTECTED]
------------
XML-Extranet ~ http://xmlx.ca ~ http://forums.xmlx.ca
Well-formed Programming in C# .NET, Witango, MSIE and XML
------------
IExtranet ~ http://iextranet.ca
Witango ~ http://witango.org
EasyXSLT ~ http://easyxslt.ca
IIS Watcher ~ http://iiswatcher.ca
------------
-----Original Message-----
From: Robert Shubert [mailto:[EMAIL PROTECTED] Sent: Thursday, April 08, 2004 4:07 PM
To: [EMAIL PROTECTED]
Subject: RE: Witango-Talk: Purge threads
This can't be done. Witango does not provide for direct (outside) thread
control, and the changing of querytimeout will not affect running
threads. All you can do is wait them out.
Robert
-----Original Message-----
From: Steve Campbell [mailto:[EMAIL PROTECTED] Sent: Thursday, April 08, 2004 5:20 PM
To: [EMAIL PROTECTED]
Subject: RE: Witango-Talk: Purge threads
I need a small taf that maybe someone has already had to come up with. Just to clear out the threads that haven't timed out yet.
Something like <@PURGECACHE> or something so that my threads and user scopes will purge.
Any help would be appreciated Thanks
Steve
--- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.627 / Virus Database: 402 - Release Date: 3/16/2004
______________________________________________________________ __________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
______________________________________________________________ __________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
