I don't think it's a good idea to start learning server-side coding prior to mastering a good working knowledge of client-side coding. You don't NEED a server to accomplish your objective.
Another way to pass information form one page to another is by appending it to the querystring.
The recipient page simply needs to parse the querystring to get the values. Something like...
var qs = location.href.split('?');
vat tokens = qs.split('&');
now each token in the tokens array contains a property/value pair, formatted as propertyName=Value.