Welcome Guest, Not a member yet? Register   Sign In
Disadvantages of storing session data in MySQL?
#14

[eluser]jedd[/eluser]
[quote author="Devyn" date="1253383611"]
Can I store hash in session table without storing in separete table? So I can access the data with session ID. Does it make sense?
[/quote]

Not immediately.

Have you created, and examined the contents of, your ci_session table?

There's a session_id, of course, but what are you actually trying to achieve?

I believe you are free to add additional fields to the ci_session table - I'm sure this has been discussed previously on the forums. The session class (in the user guide) provides a template, and calls it such, for the table creation - which alludes to the option of expanding that to taste.


Messages In This Thread
Disadvantages of storing session data in MySQL? - by El Forum - 09-17-2009, 01:18 PM
Disadvantages of storing session data in MySQL? - by El Forum - 09-17-2009, 01:35 PM
Disadvantages of storing session data in MySQL? - by El Forum - 09-17-2009, 02:25 PM
Disadvantages of storing session data in MySQL? - by El Forum - 09-17-2009, 02:32 PM
Disadvantages of storing session data in MySQL? - by El Forum - 09-17-2009, 02:35 PM
Disadvantages of storing session data in MySQL? - by El Forum - 09-17-2009, 03:00 PM
Disadvantages of storing session data in MySQL? - by El Forum - 09-17-2009, 03:03 PM
Disadvantages of storing session data in MySQL? - by El Forum - 09-17-2009, 03:14 PM
Disadvantages of storing session data in MySQL? - by El Forum - 09-17-2009, 03:20 PM
Disadvantages of storing session data in MySQL? - by El Forum - 09-17-2009, 03:25 PM
Disadvantages of storing session data in MySQL? - by El Forum - 09-17-2009, 03:58 PM
Disadvantages of storing session data in MySQL? - by El Forum - 09-18-2009, 12:31 AM
Disadvantages of storing session data in MySQL? - by El Forum - 09-19-2009, 07:06 AM
Disadvantages of storing session data in MySQL? - by El Forum - 09-19-2009, 09:12 AM
Disadvantages of storing session data in MySQL? - by El Forum - 09-19-2009, 10:24 AM
Disadvantages of storing session data in MySQL? - by El Forum - 09-19-2009, 10:51 AM
Disadvantages of storing session data in MySQL? - by El Forum - 09-19-2009, 11:25 AM
Disadvantages of storing session data in MySQL? - by El Forum - 09-19-2009, 11:45 AM
Disadvantages of storing session data in MySQL? - by El Forum - 09-19-2009, 12:01 PM
Disadvantages of storing session data in MySQL? - by El Forum - 09-19-2009, 12:46 PM
Disadvantages of storing session data in MySQL? - by El Forum - 09-19-2009, 03:08 PM
Disadvantages of storing session data in MySQL? - by El Forum - 09-19-2009, 04:04 PM
Disadvantages of storing session data in MySQL? - by El Forum - 09-19-2009, 04:52 PM



Theme © iAndrew 2016 - Forum software by © MyBB