Welcome Guest, Not a member yet? Register   Sign In
Session logout Problem -- db sessions
#5

[eluser]Cro_Crx[/eluser]
You only need to worry about the size limit of cookies if you aren't storing them in the database so as your config is set to use the database then you don't need to worry about it.

Transactions are used in databases to make sure that either all or none of the operations take place. So for example let's say you want to create a new user then log that you have created them. You'll need to insert a row into the users table and then insert a row into the log table. Transactions make sure that either both of these happen, if one of them fails for whatever reason then the other will be rolled back.

MySQL supports transactions, although the default storage engine MyISAM doesn't support them. You need to use InnoDB or another storage engine to get their benefits.


Messages In This Thread
Session logout Problem -- db sessions - by El Forum - 08-14-2009, 02:33 PM
Session logout Problem -- db sessions - by El Forum - 12-17-2009, 08:20 AM
Session logout Problem -- db sessions - by El Forum - 12-17-2009, 09:55 AM
Session logout Problem -- db sessions - by El Forum - 12-17-2009, 10:09 AM
Session logout Problem -- db sessions - by El Forum - 12-17-2009, 10:26 AM
Session logout Problem -- db sessions - by El Forum - 12-17-2009, 10:29 AM
Session logout Problem -- db sessions - by El Forum - 12-17-2009, 10:51 AM
Session logout Problem -- db sessions - by El Forum - 12-17-2009, 11:19 AM
Session logout Problem -- db sessions - by El Forum - 12-18-2009, 04:12 PM



Theme © iAndrew 2016 - Forum software by © MyBB