Presentation is loading. Please wait.

Presentation is loading. Please wait.

Server Side Scripting Key Points Meaning of ? In URL Arguments/inputs: name/value pairs, & separates Create/abuse input in the URL Input validation (server.

Similar presentations


Presentation on theme: "Server Side Scripting Key Points Meaning of ? In URL Arguments/inputs: name/value pairs, & separates Create/abuse input in the URL Input validation (server."— Presentation transcript:

1 Server Side Scripting Key Points Meaning of ? In URL Arguments/inputs: name/value pairs, & separates Create/abuse input in the URL Input validation (server or client) Avoiding client side validation Entire GET will be in server logs

2 var iter = 0; while(iter < 1000) { document.write("G O N A V Y ! "); iter = iter + 1; } var iter = 0; while(iter < 1000) { document.write("G O N A V Y ! "); iter = iter + 1; } function (N) { var out = ""; var iter = 0; while(iter < N) { out = out + "G O N A V Y ! "; iter = iter + 1; } return out; } G O N A V Y ! G O N A V Y ! G O N A V Y ! G O N A V Y ! G O N A V Y ! G O N A V Y ! G O N A V Y ! G O N A V Y ! G O N A V Y ! G O N A V Y ! G O N A V Y ! G O N A V Y ! G O N A V Y ! G O N A V Y ! G O N A V Y ! G O N A V Y ! G O N A V Y ! G O N A V Y ! G O N A V Y ! G O N A V Y ! G O N A V Y ! G O N A V Y ! G O N A V Y ! G O N A V Y ! G O N A V Y ! G O N A V Y ! G O N A V Y ! G O N A V Y ! G O N A V Y ! G O N A V Y ! G O N A V Y ! G O N A V Y ! G O N A V Y ! G O N A V Y ! G O N A V Y ! G O N A V Y ! G O N A V Y ! G O N A V Y ! G O N A V Y ! G O N A V Y ! G O N A V Y server finds server sends browser executes and renders server finds and executes server sends browser renders Client-Side Scripting Server-Side Scripting

3

4 Forms Form Input Buttons

5 °F (browser back-button to return) function(fahrenheit) { var f = fahrenheit; var c = 5/9*(f - 32); return c + ' °C'; } f2c.html - on client f2c.jsx - on server Tells browser to construct a URL that will be sent


Download ppt "Server Side Scripting Key Points Meaning of ? In URL Arguments/inputs: name/value pairs, & separates Create/abuse input in the URL Input validation (server."

Similar presentations


Ads by Google