Posts Tagged ‘server side processing’

A Cookie ToolBox

Friday, July 4th, 2008

Cookies are the main way of retaining information between one web page and the next and the only way to retain information between different browser sessions. Cookies are supported by both JavaScript and server side processing. Cookies are however limited in the amount of data they can store. Each domain can store up to 20 cookies with up to 4k of data in each with a maximum of about 300 cookies being able to be stored in total.

By using my cookie toolbox you make processing of cookies in JavaScript easier as well as being able to store an array of values into a single cookie.

A Cookie ToolBox

Passing Information Between Pages

Sunday, April 27th, 2008

There are three ways that you can pass data between web pages using JavaScript and this article shows you how each of the three methods works.

  • using a cookie
  • using frames
  • or on the end of the URL as a querystring

There are of course other ways to pass information between pages using server side processing such as posting the data between pages or using a session but these require server side processing that some web sites may not available. Noe that you can POST data using JavaScript but you need server side processing in order to read it back.

Passing Information Between Pages

Displaying “Random” Text or Images

Wednesday, March 5th, 2008

Where you don’t have access to use server side processing to place random content into your web page you can use JavaScript to do it for you.

Displaying “Random” Text or Images

Adapting to Web Standards

Wednesday, January 23rd, 2008

The second of the two New Rider books I received is on web standards. This book covers the reasons for applying web standards to your page, how to apply standards to your HTML, CSS, JavaScript, and server side processing, as well as containing a couple of case studies that show how standards are applied in practice and how for a hugely popular web site where it may be necessary to break with the standards for efficiency reasons, how to determin when such an action is actually appropriate.

Adapting to Web Standards