In Form_1 I'm setting the session :
<form action="form_2.php" >
<input type="text" id="zipcode" maxlength="7" name="zipcode">
</form>
<script>
$("form").submit(function(){
var zipcode = $('#zipcode').val();
$.session.set("zipcode","zipcode");
alert($.session.get("zipcode"));// NOT WORKING :(
});
</script>
Meanwhile, the session is not used nor destroyed.
In form_3 I'm getting the session but its not working :
var zipcode=$.session.get('zipcode'); //NOT WORKING