Login  
Search All Forums
Dart Home | PowerTCP WebServer for ActiveX | Custom Development Reply | PowerTCP WebServer for ActiveX Topics | Forums   
AuthorForum: PowerTCP WebServer for ActiveX
Topic: Server connection response
chris@digitalinsights.com

From: San Clemente, CA USA
Posts: 73
Member Since: 11/03/03
posted March 25, 2011 12:20 PM

I have a client that wants to change response the webserver gives when a connection is requested. Currently the webserver responds with:

Dart WebServer Tool/1.0

Is there a way to change that in a property settings?

Thanks

Nick B (Admin)

From: Utica, NY USA
Posts: 572
Member Since: 05/25/10

Extra Support Options
Custom Application Development

posted March 25, 2011 4:45 PM

Hello,

Yes, the Server response header (along with the rest of the response headers) can be set in the connection request event with:
Response.Header.add httpServer, "Your Custom Header Here"

I don't know how your code is set up, but in our WebServer sample, this would be added in the WebServer1_Get event.

------
-Non-current subscribers must contact sales@dart.com to update subscription and receive continued support as needed.
------

chris@digitalinsights.com

From: San Clemente, CA USA
Posts: 73
Member Since: 11/03/03
posted March 25, 2011 6:07 PM

Thank you! Is there a way to disable the HTTP TRACE?
Nick B (Admin)

From: Utica, NY USA
Posts: 572
Member Since: 05/25/10

Extra Support Options
Custom Application Development

posted March 28, 2011 10:09 AM

You're welcome. The TRACE request will be raised in the Request event, and you can modify the response (or not respond) to it there.

------
-Non-current subscribers must contact sales@dart.com to update subscription and receive continued support as needed.
------

Reply | PowerTCP WebServer for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX