Saving sessions in MySQL Database

Discussions of secure PHP coding. Security in software is important, so don't be afraid to ask. And when answering: be anal. Nitpick. No security vulnerability is too small.

Moderator: General Moderators

Post Reply
User avatar
Mr Tech
Forum Contributor
Posts: 424
Joined: Tue Aug 10, 2004 3:08 am

Saving sessions in MySQL Database

Post by Mr Tech »

What are your thoughts on the Exposed Session Data located at:

http://phpsec.org/projects/guide/5.html

Is it a coog idea to save sessions in the database?
User avatar
s.dot
Tranquility In Moderation
Posts: 5001
Joined: Sun Feb 06, 2005 7:18 pm
Location: Indiana

Post by s.dot »

Shared hosts are tricky business. (that's my thoughts :-D)

and, I don't see anything wrong with storing a session in the database.
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
User avatar
Mr Tech
Forum Contributor
Posts: 424
Joined: Tue Aug 10, 2004 3:08 am

Post by Mr Tech »

Ok thanks. I guess it would be safer storing it in the database...

P.S. How the heck did I spell coog instead of good in my first post???
Post Reply