when I try to open the website in opera and firefox a message appear asking for a username and password for server localhost and I don't know what to do and when I click cancel button the page doesn't load and I got
"You are not authorized to view this page"
That is the ultimate question and there is absolutely no straight answer. One is not better than the other, they both have their merits and disadvantages. Google on .net vs java and you'll get plenty of discussions but more often than not it comes down to developer preference (or platform).
I started out developing Java web applications and have moved into .NET. I'm quite happy where I am but would also happily move back to Java.
I tried to figure out (for couple of days now) how to check to see if a remote file exists on a different server where the web application is running. If it was on a same server I would just use server.mappath and I would have no problem. But the files are on a totally different server on different domain. So, what I'd like to do is just say checkIfThisFileExistsOnRemoteServer(http://someserver.com/directory/file.pdf)
Is there a asp.net (C# or VB.NET, does not matter) way to do this.
Yes, I am using HTTP and I'd like to get that 404 response if the file does not exist. My question was how to make this request and how to read the response inside asp.net. In college I learnt application layer protocols and I'd just send the requests to remote server such as SMTP, HTTP and send me responses like 404, 500 or whatever. I just want to do the same thing in ASP.NET.
Last Visit: 31-Dec-99 18:00 Last Update: 22-Sep-23 15:36