Willkommen, Gast
Benutzername: Passwort: Angemeldet bleiben:

THEMA: Determine if survey has been succesfully submitted

Determine if survey has been succesfully submitted 1 Jahr 1 Monat her #98303

  • rvas
  • rvass Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 7
  • Dank erhalten: 1
  • Karma: 1
Hi all,

I have created a small PHP script where a user can enter his/her email address that is subsequently stored in a SQL database. I want to anonymously collect e-mail addresses in order to build a separate list unrelated to the survey answers for prize winning purposes. I was wondering if there is a way by e.g. using cookies or manipulating PHP session, to determine if a survey has been successfully submitted. The script is in the same domain. Thank you very much in advance!

P.S. Perhaps I could create a cookie using Javascript in the Limesurvey End message, but would this be a safe solution?
Letzte Änderung: 1 Jahr 1 Monat her von rvas.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Determine if survey has been succesfully submitted 1 Jahr 1 Monat her #98334

  • DenisChenu
  • DenisChenus Avatar
  • OFFLINE
  • Moderator Lime
  • Beiträge: 6276
  • Dank erhalten: 801
  • Karma: 240
You can use GET param on end url.

And catch limesurvey $_SESSION var to in the expernal script.

Denis
Der Administrator hat öffentliche Schreibrechte deaktiviert.
Moderatoren: ITEd
Ladezeit der Seite: 0.140 Sekunden
Donation Image