I am having problem with a session variable. The problem is that with a session variable, after a period amount of time, if the user refreshes a page or something like that, it will start displaying notices stating that there are some undefined indexes.
Now I want to still use session variables but how can I keep the session going for longer? I have heard that we developers can use something like tokens so that even if the user becomes idle for a day or two or even longer, that when they refresh the page or navigate to another page, there won't be any undefined indexes notices appearing on screen.
Does anyone have any examples on using tokens?
Thanks