NetTalk Central

Author Topic: How do I get the base Url Path?  (Read 4063 times)

Big Ian

  • Newbie
  • *
  • Posts: 31
  • I wonder what happens if I press this button
    • MSN Messenger - ian.holdsworth@gmail.com
    • View Profile
    • Email
How do I get the base Url Path?
« 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
Ian Holdsworth
Ram Ltd

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: How do I get the base Url Path?
« Reply #1 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