I don’t know if this will answer your question but, when you code in asp, between the <%...and...%>, the script is executed on the server and then returns pure HTML so the user or anybody, cant see the asp code when they right click and choose View source.<BR>:)
ASP server-side code is hidden by default of course, but to hide client side you must use the Microsoft Script Encoder. This requires that clients also have version 5.1 of the Microsoft Scripting Engine ... which in short means IE 5 or IE 4 with a scripting engine update.<BR><BR>A better solution is to put anything that you truly want to protect server-side. If you don't like to have to do a true roundtrip to process data you might consider using Remote Scripting ... which is compatible with any Java-capable browser. This will allow you to execute code server-side without a roundtrip.<BR><BR>Lastly, the encoding technique used by the Script Encoder is very insecure since it is not based on anything more complicated that scrambling ... from what I've been told.