Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
URL validation
Message
 
 
To
26/01/2016 18:05:17
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01630233
Message ID:
01630270
Views:
63
>testing : http://stackoverflow.com/questions/161738.com returns .t. even if this page dont exists.funny!
>getting 404 error page (invalid Url inside a valid domain) this function returns .t. as valid url.
>The API InternetGetConnectedState provides same behaviour.
>maybe the DOS command "PING " can resolve this ? to test.

Hi Yousfi,

I think this test (even if not 100% reliable) is OK for me now. I already posted the User Story completed with that code. We'll see what the testers tell me. The validation of URL was not actually required at all, but I thought it would be nice to have.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform