Development Software
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb Site ManagementDevelopment Software

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old July 22nd, 2007, 10:04 AM
egunsmoke7 egunsmoke7 is online now
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2007
Posts: 89 egunsmoke7 Negative: is most likely a SPAMMER and a traitor to the cause. 
Time spent in forums: 13 h 38 m
Reputation Power: 0
Rating on website - using cookie?

I've questiones about having a rating feature on the product category on web site. In a real world, how does a site remember the user already entered a rating already? I've thoughts that people may use cookie but that means it needs to store a cookie a someone's browser forever? What if the user deleted all the cookies and cache from the browser?

Do people do it another way?

Thanks.

Reply With Quote
  #2  
Old July 23rd, 2007, 04:12 PM
Fluffy Convict Fluffy Convict is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2006
Posts: 34 Fluffy Convict User rank is Lance Corporal (50 - 100 Reputation Level)Fluffy Convict User rank is Lance Corporal (50 - 100 Reputation Level)Fluffy Convict User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 3 h 16 m 8 sec
Reputation Power: 2
Ratings are usually stored in cookies, so if the user deletes them, he or she could vote again. Always question yourself this: does this widget have to be absolutely bullet proof? If so, let the user login and registed votes in a database table. If not, store in a cookie (= a more lightweight solution for your website because you can check clientside instead of serverside). Hope this helps.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb Site ManagementDevelopment Software > Rating on website - using cookie?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway