RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWebRequest.ScriptName Property

Indicates the value of the script information (if any) of the URL specified in the HTTP request message.

Pascal
property ScriptName: string;
C++
__property AnsiString ScriptName;

Read ScriptName to determine the full path to the Web server application specified by the client request. For example, given this URL:

http://www.TSite.com/art/gallery.cgi/mammals?animal=dog&color=black

the ScriptName portion is:

/art/gallery.cgi

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!