Use this forum to post questions relating to WinGate, feature requests, technical or configuration problems
Oct 12 13 11:10 pm
Hi Adrien,
I would like to disable the timeout in a policy for some incoming proxy connections.
Is this possible and how can I implement it?
Thanks you for your help!
Regards
Niwre
Oct 12 13 11:19 pm
HI
yes you can set this.
Session.TimeoutEnabled = false
in a script or expression evaluator policy item.
Regards
Adrien de Croy
Oct 13 13 1:29 am
Hi Adrien,
I just tried it with Javascript and tested it after the Javascript with a Expression evaluator policy item.
It does not work, the return value in Expression evaluator after Javascript is no.
Javascript:
function filter(User, Binding, Session, Request, Website, Event)
{
Session.TimeoutEnabled==false
return true;
}
Expression evaluator:
Session.TimeoutEnabled=false
Regards
Erwin
Oct 14 13 12:12 pm
Hi
in the expression evaluator, just uncheck the option to resolve to true/false value.
In the JScript, you can't use ==, that is a check for equality, rather than an assignment. You want to just use single =
Regards
Adrien
Oct 15 13 3:51 am
Hi Adrien,
Sorry, I should have read the help file in detail!
Thanks for the help!
Regards
Erwin
Powered by phpBB © phpBB Group.
phpBB Mobile / SEO by Artodia.