I try to make a function when user logged in, store a time-stamp into a session, and every one hours after from the time stamp, will pop up a alert.
Now i can get a timestamp when user logged in, but now i want to pass that value to Ajax/js to let me finish the time count down function. Does everyone can help me or give me other solution? Thank in advance.
Edited: I was wrote wrong about the title and question, my timestamp is store in Laravel session, but i want to pass it to AJAX/JS, is this possible?