Welcome Guest, Not a member yet? Register   Sign In
Run function only once, when user enters web site
#1

[eluser]Unknown[/eluser]
Is there some way to run function only once, when user load web site? I have a function which, based on the IP of the user, determines country of the user, and I need it to run at the start so that the language of the site is automatically set (via SESSION), and later if there is need, user can change language via button.


Messages In This Thread
Run function only once, when user enters web site - by El Forum - 12-08-2012, 08:47 AM
Run function only once, when user enters web site - by El Forum - 12-08-2012, 02:19 PM
Run function only once, when user enters web site - by El Forum - 12-11-2012, 10:24 PM



Theme © iAndrew 2016 - Forum software by © MyBB