claro — 2012-09-17T03:08:16-04:00 — #1
I'm thinking of a secure sessions and I'm confused what data to save in my database.
session_id, ipaddress,login_date,status..Is that all?
thank you in advance.
cups — 2012-09-17T09:24:55-04:00 — #2
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.
claro — 2012-09-17T18:38:40-04:00 — #3
Sorry for not being clear. I'm asking for fields that I can use in my table, I'm using sqlsrv driver. Thank you for the response.
felgall — 2012-09-17T23:01:05-04:00 — #4
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.
claro — 2012-09-17T23:33:51-04:00 — #5
How about my proposed field, would that be ok? I'm making a simple inventory system.
my status if s/he is active or not.
logic_earth — 2012-09-18T02:51:11-04:00 — #6
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.
claro — 2012-09-18T18:32:58-04:00 — #7
Sorry for that. I'm making an inventory system for our computer laboratories. thank you.
cups — 2012-09-19T03:59:12-04:00 — #8
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.