What does Server.MapPath do?
Answers were Sorted based on User's Feedback
Answer / sowmya
Maps a virtual or relative path to a physical path.
Syntax:
x = Server.MapPath( string )
Parameters:
string - string containing the path to be translated
The method returns new string containing the physical path
corresponding to the path (virtual or relative) in the
passed parameter.
Example:
JScript/VBScript:
<%= Server.MapPath("/databases/database1.mdb") %>
| Is This Answer Correct ? | 4 Yes | 2 No |
Answer / kishore maddineni
The MapPath method maps a relative or virtual path to a
physical path. This method does not check for the validity
or the existence of the physical path. If the path starts
with a forward or backward slash, the method returns the
path as if the path is a full virtual path. If the path
does not start with a slash, then the method returns the
path relative to the directory of the ASP file being
processed
| Is This Answer Correct ? | 4 Yes | 3 No |
What are asp controls?
How do I save an asp file as a pdf?
Write a program in ASP that connect with "Employee" Database and Select all records from "Emp" table and shown in tabular form.
What should the developer use in order to have an Active Server Page (ASP) invokes a stored procedure on a SQL Server database? A. ADO B. RDO C. RDS D. OLEDB E. None of the above.
which property will make a control span an entire site office parent class
What are the advantages of asp?
What is a variable?
What are the components of asp?
what is the selection process for DMSS??
Whats the difference between struct and class in c#?
whate is AutoEventWireup in .net ?
In case of we are not saving the information as cookies. how server detects the same user?