• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Run function only once, when user enters web site

#2
[eluser]PhilTem[/eluser]
MY_Controller::__construct() business logic explained in words:

if ( session has no information about language )
check the language based on ip, etc. pp.
save the information in the session


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

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.