Send data via session variables instead of javascript