6
Views
2
Comments
How can make if the public user hadn't rated before then the rating is allowed.
Question
Application Type
Mobile, Reactive

On the screen where I made a public user vote rating, I need if the public user hadn't rated before then the rating is allowed.  If the public user has been rated before the overall rating appears

Using cookie


  How can I do that

Rank: #312

Hi Andrew, 

You can use the HTTPRequestHandler extension in OutSystems to store and read cookies.

I think the best implementation is to generate some kind of GUID and set that as the value of the cookie. Then you can read the cookie and link it to a rating (if you store the GUID along with the rating).


Please keep in mind that when a user uses a different browser/profile this cookie is unavailable and you have to set a new one.

Rank: #1400

Can you upl example for this