lwhitb1 wrote on 23 nov 2005 in comp.lang.javascript:
> I have been trying to load a javascript function from the body onload
> html tag, but I only want the function to load the first time the page
> is loaded: I have investigated but haven't found anything that works..
> I thought about cookies, but what if the user's disable them?
What does "only once" mean?
Different users from the same machine?
Same user on different machines?
Same user on different IP and same laptop?
Me seems you should define your quest.
What about having the user log in on your site,
and using a database and serverside script get to your goal.
--
Evertjan.
The Netherlands.
(Replace all crosses with dots in my emailaddress)
|