Problem/Motivation

I have a project requiring session based voting. Rather than simply setting the cookie timeout to be really short (say 15 mins - a likely length session for the site) the client is saying we need to implement it on a session cookie.

Proposed resolution

I have written a patch to do this and submit it here as my client can't be the only one who will ever need session based voting (Although it's as easy to spoof as cookie based voting is anyway)

Comments

cferthorney’s picture

Title: Based voting on session based cookies » Allow voting based on session cookies
Assigned: cferthorney » Unassigned
Status: Active » Needs review
StatusFileSize
new3.27 KB

See attached patch as mentioned above. Also corrected title to be better English.

tripper54’s picture

Issue summary: View changes
Status: Needs review » Needs work
Issue tags: +Needs reroll

Patch fails on the latest dev.

cferthorney’s picture

Status: Needs work » Needs review
Issue tags: -Needs reroll
StatusFileSize
new3.06 KB

Updated against latest dev. Sorry about the delay.

Dave

mikhailkrainiuk’s picture

Assigned: Unassigned » mikhailkrainiuk

mikhailkrainiuk’s picture

Assigned: mikhailkrainiuk » Unassigned
Status: Needs review » Fixed

Ok. The patch committed (after a small adaptation to current code).

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.