Results 1 to 3 of 3

Thread: Difference

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Oct 2009
    Posts
    105

    Difference

    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?

  2. #2
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: Difference

    Hey,

    Essentially, they are the same...

    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/ms524632.aspx

    HttpRequest.MapPath Method (String)
    Maps the specified virtual path to a physical path.
    http://msdn.microsoft.com/en-us/library/0e7ykf56.aspx

    Gary

  3. #3
    Hyperactive Member dnanetwork's Avatar
    Join Date
    Oct 2007
    Location
    Mumbai
    Posts
    349

    Re: Difference

    mark you thread as resolved if you are done

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width