ActiveX on Web page (General questions)
by tm, Thursday, December 16, 2004, 21:39 (7280 days ago)
Will the wodSSLTunnel ActiveX work on a web page? If it will, do you have any examples?
Re: ActiveX on Web page
by wodSupport, Thursday, December 16, 2004, 22:13 (7280 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.
Re: ActiveX on Web page
by tm, Thursday, December 16, 2004, 23:19 (7280 days ago) @ wodSupport
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.
Re: ActiveX on Web page
by wodSupport, Thursday, December 16, 2004, 23:23 (7280 days ago) @ tm
Tm,
sure, give me 2-3 hours for this. This will be HTML, not ASP - do we agree on that?
Re: ActiveX on Web page
by tm, Thursday, December 16, 2004, 23:32 (7280 days ago) @ wodSupport
Agreed. That would be great. Thank you
Just curious, is there a problem using the control with ASP?
Re: ActiveX on Web page
by wodSupport, Thursday, December 16, 2004, 23:34 (7280 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.
Re: ActiveX on Web page
by wodSupport, Friday, December 17, 2004, 00:32 (7280 days ago) @ wodSupport
Ok, sample done. Please download wodSSHTunnel again, you will see new HTML sample there.
Bon apetit!
Re: ActiveX on Web page
by tm, Friday, December 17, 2004, 19:23 (7279 days ago) @ wodSupport
Thank you. Works great!