I am getting issue in wordpress session where I am setting up the
session value on ajax request and the value is initialized as it
required but when I try to check this value after refreshing the
current tab. This value is reset. I observed two things in that:
If I try to fetch session value on the same page it is accessible
but in case of another page it is not accessible.
If the admin is logged in into wp then everything is working fine. I
am getting the value as I required.
I also used to try this code on another wordpress and it works fine.
Please let me know if there is any issue related to the permissions
or anything else.