₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,324,995 members, 8,419,849 topics. Date: Thursday, 04 June 2026 at 02:45 AM

Toggle theme

Hostmot's Posts

Nairaland ForumHostmot's ProfileHostmot's Posts

1 2 3 4 (of 4 pages)

WebmastersRe: Should Html Formatting Be In A Database? by hostmot(f): 12:54pm On Oct 01, 2009
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)
WebmastersRe: Session Management Vs Session Hijacking by hostmot(f): 12:44pm On Oct 01, 2009
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).

1 2 3 4 (of 4 pages)