NetTalk Central
Toggle navigation
Login
Register
×
Welcome,Guest
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
NetTalk Central
»
NetTalk Web Server
»
Web Server - Ask For Help
»
How do I get the base Url Path?
« previous
next »
Print
Pages: [
1
]
Author
Topic: How do I get the base Url Path? (Read 4064 times)
Big Ian
Newbie
Posts: 31
I wonder what happens if I press this button
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
Logged
Ian Holdsworth
Ram Ltd
Bruce
Global Moderator
Hero Member
Posts: 11250
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
Logged
Print
Pages: [
1
]
« previous
next »
NetTalk Central
»
NetTalk Web Server
»
Web Server - Ask For Help
»
How do I get the base Url Path?