how to store value in session using javascript in php
snippet in php

how to store value in session using javascript in php

user7045

$(document).ready(function(){ $('.button').click(function(){var href = $(this).val();$.session.set("yoursessioname", "storevalue");}) });
alert($.session.get("yoursessioname"));