Mediator Reset - WeOnlyDo Discussion board

Mediator Reset (General questions)

by bencoder, Tuesday, September 16, 2008, 15:06 (5911 days ago)

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

by woddrazen, Tuesday, September 16, 2008, 15:29 (5911 days ago) @ bencoder

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

by wodSupport, Tuesday, September 16, 2008, 15:48 (5911 days ago) @ woddrazen

Bencoder,

did you try lowering Mediator.TImeout value, so it clears out by itself?

Kreso

Re: Mediator Reset

by bencoder, Sunday, September 28, 2008, 13:21 (5900 days ago) @ wodSupport

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

by woddrazen, Sunday, September 28, 2008, 18:22 (5899 days ago) @ bencoder

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