How to set a session variable on page load?

Probably a noob question, but I am struggling for hours now figuring out how to do the following:
I need te reset (or set) a session variable when the user uses the back button in the browser.
Or alternatively, set a session variable at page load…

How could I do that?

M

Community Page
Last updated: