What do you use? Sessions or Cookies?

05/28/08

What do you use? Sessions or Cookies?

Permalink 06:05:40 pm, Categories: PHP  

Sessions versus cookies

I used to prefer sessions to cookies.

However, a lot of websites nowadays send cookies out anyway, and users don’t seem to care anymore.

One of my websites once got flagged by Google - something like the site is not to be trusted, which I disagreed with. It took about 24 hours to resolve the dispute, but it took months before I even discovered that this alert had been going on. I was at the losing end, however which way I tried to analyze it.

Actually, the I was using allowed adult sites on their servers. That could also have been the culprit. I may have been sharing the server with websites that had malicious ware.

Lately, I try to just avoid both cookies and sessions as much as possible. At least I sleep better.

Val Zubiri

Programming by Val Zubiri
Art by Val Zubiri
Arts Global Impact.org / Original Art and Art Books for Collectors for sale
Chicago Art Movement.com
Get a Massage Contact and Shop using your mobile phone

Comments, Pingbacks:

No Comments/Pingbacks for this post yet...

This post has 18 feedbacks awaiting moderation...

Leave a comment:

Your email address will not be displayed on this site.
Your URL will be displayed.

Allowed XHTML tags: <p, ul, ol, li, dl, dt, dd, address, blockquote, ins, del, span, bdo, br, em, strong, dfn, code, samp, kdb, var, cite, abbr, acronym, q, sub, sup, tt, i, b, big, small>
(Line breaks become <br />)
(Set cookies for name, email and url)
(Allow users to contact you through a message form (your email will NOT be displayed.))

September 2010
Sun Mon Tue Wed Thu Fri Sat
 << <   > >>
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30    

PHP and MySQL

Tips on the use of PHP and MySQL for your website. If you need help with your site, ask and I'll see if I can help. If you need long-term help with your website, let me know as well.

Search

XML Feeds

What is this?

powered by b2evolution free blog software