Mediator Reset (General questions)

by bencoder @, (6136 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.

locked

Re: Mediator Reset

by woddrazen @, (6136 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

locked

Re: Mediator Reset

by Jasmine, (6136 days ago) @ woddrazen

Bencoder,

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

Kreso

locked

Re: Mediator Reset

by bencoder @, (6124 days ago) @ Jasmine

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

locked

Re: Mediator Reset

by woddrazen @, (6124 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

locked