Click to See Complete Forum and Search --> : server side javascript??
druss
12-11-2003, 09:44 PM
i am currently 'decrypting' a html page using a javascript. the thing is that i dont know how to stop the javascript file from being downloaded into the cache. is there a way to stop this from happening or any other way to make it that javascript doesnt get downloaded at all, like a server side script that the server runs, decrypts the html and then exits, without being downloaded at all.
or is it that javascript only works as a clientside??
Thanks alot
Goran
ray326
12-11-2003, 10:28 PM
Well if your server understands Javascript then there will be some way of indicating where to run a bit of code -- server or client. E.g., the IIS ASP parser understands server-side Javascript and you indicate that by putting something like "runat = server" or such in the script tag. Generally speaking, though, Javascript is a client-side language.
druss
12-12-2003, 01:42 AM
hmm, well then how do i go about making it work server side, you iss technique, as i have no idea what its about. Otherwise is there like a no cache script that works cause the pragma and meta tags do not work with ie6
Thanks again
Goran
TheBearMay
12-12-2003, 07:33 AM
Assuming your host supports them you could look at Java Server Pages (JSP). You actually code them in Java, but it's not tooooooo different.
Also believe that NetScape at one point was proposing server side scripting, may want to search their site.
ray326
12-12-2003, 08:45 AM
I believe Netscape basically CREATED server-side scripting when it invented Livescript, which it later renamed Javascript.
ray326
12-12-2003, 08:50 AM
Originally posted by druss
hmm, well then how do i go about making it work server side, you iss technique, as i have no idea what its about. Otherwise is there like a no cache script that works cause the pragma and meta tags do not work with ie6
This all depends on your Web hosting service or your personal server setup. No amount of browser fiddling will do anything. In order of availability the most common server-side scripting languages are Perl/CGI, PHP and ASP(VBscript and Javascript). See which one is available to you on your hosting system.