ActiveX on Web page (General questions)

by tm @, (7441 days ago)

Will the wodSSLTunnel ActiveX work on a web page? If it will, do you have any examples?

locked

Re: ActiveX on Web page

by Jasmine, (7441 days ago) @ tm

Yes it is. But there is small problem - since events are not available, you cannot set Allow=True argument in UserConnecting event.

For this, we set Allow=True by default for connections coming from 127.0.0.1 interface, and set Allow=False by default for all other connections.

So, as long as you're forwarding only localhost connections - it will work. I can create sample for you if needed.

locked

Re: ActiveX on Web page

by tm @, (7441 days ago) @ Jasmine

That's great. We are planning on using it for localhost connections, so it won't be a problem. Yes, can you please create a sample for me?

By the way, you have outstanding products.

Thanks

Yes it is. But there is small problem - since events are not available, you cannot set Allow=True argument in UserConnecting event.

For this, we set Allow=True by default for connections coming from 127.0.0.1 interface, and set Allow=False by default for all other connections.

So, as long as you're forwarding only localhost connections - it will work. I can create sample for you if needed.

locked

Re: ActiveX on Web page

by Jasmine, (7441 days ago) @ tm

Tm,

sure, give me 2-3 hours for this. This will be HTML, not ASP - do we agree on that?

locked

Re: ActiveX on Web page

by tm @, (7441 days ago) @ Jasmine

Agreed. That would be great. Thank you

Just curious, is there a problem using the control with ASP?

locked

Re: ActiveX on Web page

by Jasmine, (7441 days ago) @ tm

Yes, there is a problem in ASP. wodSSHTunnel must be alive when it forwards channels. ASP pages are executed on the server, page is returned to the client, and any objects on ASP pages are killed at the time page is visible on the client - thus wodSSHTunnel is killed too. So, it cannot process connections anymore. This applies to all server-side languages, not only ASP.

In HTML, it's running all the time, until user doesn't close his IE window.

locked

Re: ActiveX on Web page

by Jasmine, (7441 days ago) @ Jasmine

Ok, sample done. Please download wodSSHTunnel again, you will see new HTML sample there.

Bon apetit!

locked

Re: ActiveX on Web page

by tm @, (7440 days ago) @ Jasmine

Thank you. Works great!

locked