Mediator Reset (General questions)
Hi wodTeam!
As you know, the mediator stores an internal allocation list for UserID an IP:Port.
For various reasons, the IP:Port of a userID can change.
How can I reset the Mediator allocation cache, so that the MediatorConnected Event will be fired again, when the id connects the next time after reset?
Trying this with
[code]
wodVPN.Mediator.Stop.
wodVPN.Mediator.Start;
[/code]
The wodVPN-component is just working as a mediator.
This codes doesn't reset anything at all.
Re: Mediator Reset
Hi,
DId you try to reload wodVPN reference?
[code]wodVPN.Mediator.Stop
Set wodVNP = Nothing
Set wodVPN = New wodVPNCom
wodVPN.Mediator.Start[/code]
that should help here.
Let us know how it goes.
Regards,
Drazen
Re: Mediator Reset
Bencoder,
did you try lowering Mediator.TImeout value, so it clears out by itself?
Kreso
Re: Mediator Reset
Hi Team!
Thanks for your answers.
Now, I free the MediatorWodVPN-Object and init it, when I want to reset it, but I hardly need to do it.
But, the very strange thing is.
* When I Reset the Mediator (mediator.free TwodVPN.Create(...)), everything works fine.
* When I Free the Mediator-Object during WebModuleDestroy(), all of a sudden, the application crashes and I can't unload the ISAPI-DLL.
thanks for ideas,
bencoder
Re: Mediator Reset
Bencoder,
If you are thinking that this is wodVPN issue. Can you maybe zip and send us some simple sample to:
techsupport@weonlydo.com
that will duplicate your issue. So we can duplicate it on our side.
Drazen