Creating unique transient name per browser session
-
Hi,
For my captcha I want to store the result of a sum in a transient. This way I can compare it with the result that user has filled in. I thought about using a PHP session, but WP does not like that anymore.
When contact form is loaded on a page, a transient is set that stores the result of the sum. But how does my script create an unique transient (name)? A transient (name) per browser session. And even more important, how to get the value of the correct transient?
Guido
- The topic ‘Creating unique transient name per browser session’ is closed to new replies.