hey friends, I want to ask that Request.MapPath and Server.MapPath are same or not???? Can u explain me it with the help of coding?
Printable View
hey friends, I want to ask that Request.MapPath and Server.MapPath are same or not???? Can u explain me it with the help of coding?
Hey,
Essentially, they are the same...
http://msdn.microsoft.com/en-us/library/ms524632.aspxQuote:
Server.MapPath Method
The MapPath method maps the specified relative or virtual path to the corresponding physical directory on the server.
http://msdn.microsoft.com/en-us/library/0e7ykf56.aspxQuote:
HttpRequest.MapPath Method (String)
Maps the specified virtual path to a physical path.
Gary
mark you thread as resolved if you are done