Hostmot's Posts
Nairaland Forum › Hostmot's Profile › Hostmot's Posts
There should be no reason why html formatting should take place in a database. The database should be allowed to do what it knows how to do best; store and give data. It should not partake in the user interface process. A company like yours should be using something like the MVC development pattern. Html in the database will most definitely complicate things when you are trying to add ajax to spice things up. Olawunmi, Hostmot Sales Rep. (www.hostmot.com) |
Actually, storing your sessions in the database is much safer and guarantees faster access when you have so many users (the same way its faster to store and retrieve data in the database rather than flat files). That said, if you have your own vps or dedicated server, you don't need to worry about where your sessions are stored. Its your own box; your own flat. If you are on a shared server, storing your sessions in a db adds an extra layer of security as it is harder for the other people on your server to access your db rather than the temp folder where all your sessions are stored along with theirs (C'mon, y'all are using a single php installation and it will put everything there). BTW, the topic is confusing in a way. Session management and session hijacking have no "versus" relationship whatsoever. Olawunmi, Hostmot Sales Rep. (www.hostmot.com). |