NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Big Ian on January 18, 2008, 03:44:09 AM

Title: How do I get the base Url Path?
Post by: Big Ian on January 18, 2008, 03:44:09 AM
Hi All

I'm assuming that this is a property in P_web however I can't find it.  Basically if my url is http://www.anyoldwebsite.com/login.htm how do I get the http://www.anyoldwebsite.com/ part.

Cheers
Title: Re: How do I get the base Url Path?
Post by: Bruce on January 22, 2008, 03:05:52 AM
As of writing this (4.30) it isn't a property yet. However it's likely it will be for a future release. You can access it though using a method call;

p_web.GetHeaderField ('host:')

Cheers
Bruce