Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Where should i set my database connection
#2
In the UserSession, if you are providing data for the pages of your application. Each client gets a copy of the UserSession. The ServerController is created once when your application is started. You can also access data there, but that is not a good place to get data for the sessions unless you have a specialized case that requires it.
Reply


Messages In This Thread
RE: Where should i set my database connection - by DanielFields - 07-05-2018, 04:00 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)