Hey everyone, I had a question, can you still have something sort of like php. When you need to change let's say for example a menu, and change it with out doing it manually on every single page with .asp? Also what good things are there with asp? Thanks
10-07-2007, 11:09 PM
Yes, you can do it by including or executing a page like: menu.asp:
Well, if you don't know ASP but want to learn it, you might wanna try learning the new ASP which is ASP.NET. It's much more secured, faster, supports C# and VB.NET coding and has many other advantages.
I've recently started learning ASP.NET and I really like it. It's very different from what I know in ASP but it has many advantages and it feels nice to be up to date at last (ASP 3.0 is very old now).
Hope that helped.
10-08-2007, 01:56 PM
At the notion of sounding "old school", Classic ASP isn't going anywhere. ASP.NET, while faster only when IIS has the opportunity to compile the page, is only better when you are looking into high volume websites. Classic ASP and PHP are still your best bet for low volume, database driven pages.
Now I know that NikkiH and a couple others here will say that I am wrong, so I will state now that the above is my opinion, while still based on facts.
ASP is not less secure than ASP.NET **IF** you know what you are doing. SQL Injection techniques are just as prevalent in ASP.NET as they are in ASP. You simply need to know how to code against them. ( Did I mention that you have to know what you are looking for and how to guard against it? :) )
Simply put -- use what you know, learn what you don't, but at the same time, don't disregard the old school stuff if it does what you need it to do.
10-08-2007, 03:09 PM
What I said about ASP.NET wasn't my opinion but facts I've read in many articles. So, umm... That's only what I wanted to say.
However, why would you need to be safe.
And the code Barrman you gave me, does that also work with asp.net?
Also, does css work in asp.net or aspx? Having css layouts?
10-10-2007, 04:48 AM
ASPX and ASP.Net are the same thing.
CSS works in anything that runs HTML (ASP, .NET, PHP, HTML, JSP, Ruby, etc)
Although Include directives work the same in .NET as they do in ASP, they are not called in code in the same way.