I’ve one PHP application running on a server and there is some user authentication over there. So, I can get the user name using PHP session variable.
But I want to use HTML 5 Web Storage in PHP for the following reason:
There’s going to be a link in the web page of the PHP application which when clicked by the user, will take them to a new tab of the browser. This new tab will contain another web application which is not PHP based.
So, from the PHP web application, I want to store the user information into HTML 5 web storage (basically session storage) so that I could retrieve it in the another tab using HTML 5 web storage. Since, both the tabs are in the same browser session, I should be able to get the stored information from PHP in a new tab using HTML 5 session storage.
Is it possible to achieve above scenario in PHP?