Session data which is also stored in a database is not inherently more secure than plain old sessions, but at least the session data lives on past the normal session data cleanup time.
I'm not exactly sure of what you are asking, but this old project might give you some other ideas Sessionara.
The firelds that you would save in the table would be whatever fields that the session uses. This would vary from one project to the next, there would not be any common list of fields.
Depends on your project and what you are going to do with them...Its kinda pointless to ask us since we don't know the system you are making. We can pull a random guess from our behind but that wouldn't be very useful. All in all, your question is way to vague for us to answer in any meaningful way.
Logic without the fatal effects.
All code snippets are licensed under WTFPL.
If you explained why you want to permanently store some of the session variables in a table, and how imagine your inventory system will benefit from having them, then you might elicit some ideas from us about the best way to go about it.
Bookmarks