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.