Hello,
When I programmed with ASP we use the session object to swap data between the different web sides.What are the disadvantages of using the javascript session object instead of the post method.
Thank you in advance
Otto
var name = Object.create(null);
name.FirstName= "Otto";
name.LastName = "Mustermann"
name.strasse="Bahnhofstrasse"
name.Age ="25"
sessionStorage.setItem('example', JSON.stringify(name));
var temp = sessionStorage.getItem('example');
var viewName = $.parseJSON(temp);
var div = '<div>' + viewName.FirstName + ' ' + viewName.LastName + ' ' + viewName.strasse + ' is ' + viewName.Age + ' years old.' + '</div>';
Users browsing this forum: No registered users and 9 guests