Hello,
I feel sorry, if this post isn't related here. If you feel this post is useless act according to your wish
My question is why don't we save the visitors(subscribers) cookie
information in DB
rather than setting a file on user's machine.Yeah, I know I might sound silly for following reasons
1) Maintaining DB
for every single user for every small chunks
of data
2) It might be difficult to retrieve data, when database server is down
2) Continuous Requests are to be made to web server for each and every small info..
My point is, If we are going to store the user's data in DB
rather than file on clients machine,
we can Provide security to the client by not making other organization (or) other sites (or even hackers) access the user's info from the cookies
.
More over we can track the user activities or behaviour ( I mean, we actually don't know what the user is doing [client side activity] like data Tampering
)
If you feel that it might be difficult to send requests to web server continuously,
Thanks to Ajax
, It gives some support to my question, Sending requests to web server made so simple using Ajax
So, Is it good Idea to store the user's sensitive information in DataBase rather than setting a small File on user's machine ??
Thanks you !!
PS : Here I want to be specific, I'm not talking about session !