| 1. |
Solve : Self Hosting? |
|
Answer» OK it sound quite easy. I installed the IIS drivers for Windows XP and I got something to happen now when I type http://localhost into the Run Tool it pops up with a box to inter a user NAME and password but I don't know what it is also I would think that if someone logs on to my site they would get the same thing so how do i disable this security window? I've only DONE a little with IIS, so this may not be the best help (I use Apache and/or xampp), but I think you have to define a website in the IIS management console that users can access without user info. I use IIS a lot more because JScript is my preferred choice of scripting language. I wish it wasn't.Jscript is a client side language. It doesn't care what server it is being taken from, just what browser is being used. You might be thinking of jsp. (Java Server Page)Quote Jscript is a client side language. It doesn't care what server it is being taken from, just what browser is being used. You might be thinking of jsp. (Java Server Page) Oh ! So that's why none of my web apps ever work ! or... You couldn't be more wrong, Sir. JScript is a scripting language, and is essentially identical to Javascript (Code branching in client-side scripts is very, very rarely due to core language differences). Neither language is solely found in client side applications. The most common non-browser uses for JScript are server-scripting within ASP, and sort-of shell scripting for PCs in WSH (Windows Scripting Host). If you are running Windows, perhaps you should try this: WScript.Echo("Hello"); Save as a .js file; and double click.You have sparked my interest. I didn't know jscript could be a server-side language. The snippet you supplied doesn't really explain much though. It's still executed on the client side. I'm aware of the differences between jscript and javascript. From my perspective, Microsoft just wanted their own web scripting interpreter so they added a few features and called it their own. I do have a question about it though. Why would you want to use jscript as a server side language when you're using asp? Doesn't asp do everything and more that jscript could do? The only thing asp doesn't do would be client-side stuff, right? Quote It's still executed on the client side. Windows considers .js files as executeable. It executes on your PC, within WSH. One might consider that to be "client-side", but since there's no webserver involved... Quote Microsoft just wanted their own web scripting interpreter so they added a few features and called it their own Kind of. Javascript is standardised as ECMAScript. JScript is just an implementation of it (as is Flash's ActionScript). Both J's extend ECMAScript a little, and many of these extensions are common to both. There are a handful of JScript extensions that are required for useful OPERATION in Microsoft hosts, and sharing data with VBScript. Quote Why would you want to use jscript as a server side language when you're using asp? Doesn't asp do everything and more that jscript could do? ASP can't do anything by itself. It is a host, not a language. ASP comes with VBScript and JScript support. Support for other languages can be added. There are 3rd party modules available for PHPScript, PerlScript etc. In classic ASP, it is possible to run more than one language on the same page. |
|