how do you keep user info in program?
-
Hi, I would like to how do you keep user info (authenticated object) into program? are you create a centralize controller for keeping that in static method?
calendarw wrote:
are you create a centralize controller for keeping that in static method?
yes usually i create static class to hold data that will be accessed in other objects, like "session" in webserver
dhaim ing ngarso sung tulodho, ing madyo mangun karso, tut wuri handayani. "Ki Hajar Dewantoro" in the front line gave a lead, in the middle line build goodwill, in the behind give power support
-
calendarw wrote:
are you create a centralize controller for keeping that in static method?
yes usually i create static class to hold data that will be accessed in other objects, like "session" in webserver
dhaim ing ngarso sung tulodho, ing madyo mangun karso, tut wuri handayani. "Ki Hajar Dewantoro" in the front line gave a lead, in the middle line build goodwill, in the behind give power support