Jump to content
  • Advertisement
Sign in to follow this  
GekkoCube

[web] a question about ASP.

This topic is 4413 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

ASP (Active Server Pages) being stuff that resides on the server side, does this mean i can't test ASP pages unless i have a server? Im reading an ASP book, and it gives an ASP example using javascript. I've yet to try the code out, but this one question is ambiguous, although common sense would lead me to think it resides on the server. If it does indeed resides on the server, what would be an example of this? and what advantages do we get from pages being generated on the server???

Share this post


Link to post
Share on other sites
Advertisement
Yes, you definitely need a server to test ASP code. As far as I am aware, IIS is the only server that renders ASP. If my second sentence is misinforming the OP, someone please correct me!

Share this post


Link to post
Share on other sites
If you have Windows 2000 or Windows XP Professional, you have an IIS server available through the Windows installation disks or through online updates from Microsoft. You just need to put a check mark next to Internet Information Services (IIS) in the Windows Components section of the add/remove programs dialog box. You can even set up IIS for XP Home Edition. The server is able to run ASP, ASP+, and ASP.net pages assuming you install everything correctly.

Some kinds of code execute on the server: Anything inside <% and %> blocks is server code. Anything with runat="server" is server code. Anything with <asp:control ... > is server code. A few special files like web.config will only be run on the server and never get displayed.

Everything else will be sent to the web browser and is run on the client side.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!