|
-
Oct 21st, 2009, 02:09 AM
#1
Thread Starter
Lively Member
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?
-
Oct 21st, 2009, 02:18 AM
#2
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
-
Oct 22nd, 2009, 06:03 AM
#3
Hyperactive Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|