mortalhero Posted December 12, 2009 Share Posted December 12, 2009 I have a math formula that I would like visitors to my site to able to use, but I am not ready to share the actual formula. I would like to let the visitor enter a couple of numbers and the formula would simply give the result.I know absolutely nothing about scripting so for the moment I would like just like to develop a strategy. I think I would like to use Java or ASP or ASP.net, but what to do with it? Can a visitor view server-side script code? Should I call the script from my page and simply open a new window within that script? Should I have the visitor enter data on my page then save it on the server and call the script, then return the answer to my page? I really have no idea.Thank you. Link to comment Share on other sites More sharing options...
Synook Posted December 13, 2009 Share Posted December 13, 2009 Clients cannot view server-side code. Link to comment Share on other sites More sharing options...
mortalhero Posted December 13, 2009 Author Share Posted December 13, 2009 Clients cannot view server-side code.Thank you for your reply. That is good news. So I could write the ASP code on my server, then pass and retrieve information to/from it? Sounds simple enough.Thanks Synook Link to comment Share on other sites More sharing options...
RobberBaron Posted December 16, 2009 Share Posted December 16, 2009 Yeah, a main point about server languages is they can decide how HTML elements are displayed. When you view a server page, your computer downloads the HTML output to your Temporary Internet Files folder; this is because the server script runs on the server before the page is viewed.Hope this helped Link to comment Share on other sites More sharing options...
mortalhero Posted December 18, 2009 Author Share Posted December 18, 2009 Yeah, a main point about server languages is they can decide how HTML elements are displayed. When you view a server page, your computer downloads the HTML output to your Temporary Internet Files folder; this is because the server script runs on the server before the page is viewed.Hope this helped Thank you RobberBaron. So do you think I can do it all with ASP.NET? Will I be able to do this by simply adding a few lines of script to my existing HTML page and creating an ASP.NET file on my server?Thanks. Link to comment Share on other sites More sharing options...
Synook Posted December 18, 2009 Share Posted December 18, 2009 Yes. You do need to write the ASP.NET file though, and you need a server that supports .NET. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.