Roy Gardiner
06-02-2004, 11:09 AM
I use onload() to set what's visible and what's not on a page. Users may click various things on the page to customise what's visible. When they select other pages, then use 'back' to come back to me, the onload() resets all their changes.
Is there a standard way to detect either (a) the first time a page is loaded or (of course) 2nd and subsequent times within a session? It doesn't need to be across complete sessions, so a cookie isn't needed.
Sorry if this is a well known or RTFM problem.
Is there a standard way to detect either (a) the first time a page is loaded or (of course) 2nd and subsequent times within a session? It doesn't need to be across complete sessions, so a cookie isn't needed.
Sorry if this is a well known or RTFM problem.