I'm probably going to butcher explaining what I'm trying to do, so bare with me.
Essentially I'm working on a custom Contest type of solution for a client. I'm using Gravity Forms for the users to sign up, and then I have a hidden field that is able to be populated dynamically through GF. I have a Cron Job set up to where once a day it will populate that field with a value of "winner". However it only needs to be populated for the first user that hits the site after the scheduled job runs, then for the next person it should be blank again.
I've looked into using a session variable, but unless I can pull the session id, I can't exactly make that work correctly. I can't use a query string, as I don't want the user to know if they've won until after they fill out the form, which then it will use the value to show a winner or loser section with javascript.
I'm about 99% sure this is not the best way to go about it, but being somewhat of a PHP newb, this is what the last few days of research has gotten me. Any help would be greatly appreciated.