Home
Forums
Members
Search
Help
New topics
Todays topics
Website
Welcome Guest, Not a member yet?
Register
Sign In
Login
Username:
Password:
Remember me
Lost Password?
CodeIgniter Forums
CodeIgniter 4
CodeIgniter 4 Support
How to start session globally?
Share on Google
Share on Facebook
Share on Twitter
View a Printable Version
Subscribe to this thread
Add Poll to this thread
Send thread to a friend
Linear Mode
Threaded Mode
How to start session globally?
kilishan
CI Project Lead
Posts:
1,462
Threads:
90
Joined:
Oct 2014
Reputation:
120
#11
09-21-2018, 09:21 AM
Personally, I'd put it in a library of some sort. Whatever models you're pulling results from will already have the db connection, and the library would just compile the stats from the different models.
Support Development
•
CodeIgniter 4 Foundations
•
Practical CodeIgniter 3
•
CodeIgniter Tutorials
Reply
Messages In This Thread
How to start session globally?
- by
happyape
- 09-21-2018, 04:35 AM
RE: How to start session globally?
- by
sv3tli0
- 09-21-2018, 04:59 AM
RE: How to start session globally?
- by
happyape
- 09-21-2018, 05:21 AM
RE: How to start session globally?
- by
dave friend
- 09-21-2018, 05:29 AM
RE: How to start session globally?
- by
happyape
- 09-21-2018, 05:34 AM
RE: How to start session globally?
- by
sv3tli0
- 09-21-2018, 06:10 AM
RE: How to start session globally?
- by
happyape
- 09-21-2018, 06:16 AM
RE: How to start session globally?
- by
kilishan
- 09-21-2018, 06:16 AM
RE: How to start session globally?
- by
happyape
- 09-21-2018, 06:58 AM
RE: How to start session globally?
- by
happyape
- 09-21-2018, 07:36 AM
RE: How to start session globally?
- by
macruzgi
- 11-04-2019, 10:48 AM
RE: How to start session globally?
- by
dave friend
- 11-04-2019, 02:15 PM
RE: How to start session globally?
- by
macruzgi
- 11-04-2019, 01:21 PM
RE: How to start session globally?
- by
kilishan
- 09-21-2018, 09:21 AM
RE: How to start session globally?
- by
macruzgi
- 11-04-2019, 01:29 PM
RE: How to start session globally?
- by
macruzgi
- 11-04-2019, 03:05 PM
RE: How to start session globally?
- by
dave friend
- 11-04-2019, 09:14 PM
RE: How to start session globally?
- by
macruzgi
- 11-05-2019, 07:51 AM
RE: How to start session globally?
- by
dave friend
- 11-05-2019, 09:35 AM
RE: How to start session globally?
- by
macruzgi
- 11-08-2019, 04:17 PM
RE: How to start session globally?
- by
InsiteFX
- 11-05-2019, 05:50 PM
--------------------
Private Messages
User Control Panel
Who's Online
Search
Forum Home
General
-- News & Discussion
-- Events
-- Lounge
-- Regional User Groups
Using CodeIgniter
-- Installation & Setup
-- Model-View-Controller
-- Libraries & Helpers
-- Best Practices
-- Choosing CodeIgniter
-- General Help
CodeIgniter 4
-- CodeIgniter 4 Roadmap
-- CodeIgniter 4 Development
-- CodeIgniter 4 Feature Requests
-- CodeIgniter 4 Support
-- CodeIgniter 4 Discussion
-- CodeIgniter 4 Addins
Development
-- CodeIgniter 3.x
-- CodeIgniter 2.x
-- Issues
-- NetBeans Plugin
External Resources
-- Spotlight
-- Learn More
-- Jobs
-- Addins
Archived Discussions
-- Archived Libraries & Helpers
-- Archived Development & Programming
Theme © iAndrew 2016 -
Forum software by © MyBB