We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Database sessions

Development and Programming

_xammax_'s avatar
_xammax_
31 posts
15 years ago
_xammax_'s avatar _xammax_

Hello, I’d like to store session values in db. I’ve changed the config/session.php file with the right (?!) params (I mean: sess_use_database and sess_table_name), but seem nothing happens …

I’ve also look on log file (log_threshold = 4) but there’s nothing related (just debug messages of Session class init and so on)

Any ideas? Is it not possibile to store sessions data in table?

My EE: 2.1 / Build: 20100712

Many thanks in advance.

       
Greg Aker's avatar
Greg Aker
6,022 posts
15 years ago
Greg Aker's avatar Greg Aker

Sessions are stored in the database for ExpressionEngine. What is your goal? What are you trying to accomplish?

       
_xammax_'s avatar
_xammax_
31 posts
15 years ago
_xammax_'s avatar _xammax_
Sessions are stored in the database for ExpressionEngine. What is your goal? What are you trying to accomplish?

Hi Greg, Yes, I’ve seen that sessions info are stored in [prefix]_sessions but “limited” to user_agent, member_id, etc …

I’m just wonder why setting on config/session.php has not effect …

My need is store some info in session user data and retrieve them from another app/site (not same or cross domain) …

Many thanks in advance for your help.

       
Ingmar's avatar
Ingmar
29,245 posts
15 years ago
Ingmar's avatar Ingmar

Let me move this to “Development and Programming” for you 😊 Thanks.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.