Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: Generating tokens on access

Generating tokens on access 5 years 3 months ago #62807

  • darkshine
  • darkshine's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 1
  • Karma: 0
I'd like to use LimeSurvey for the satisfaction surveys at the end of my support tickets. So, a customer ticket is closed, they get an e-mail informing them of this with a link asking them to fill out our survey.

At the moment the e-mail comes from the Ticket system, not LimeSurvey, so ideally I'd like to format the link so that it includes the ticket number from the Ticket system. Then upon clicking the link LimeSurvey generates the previously non-existent token and allows the survey to go ahead.

I suppose one way around this is to create a token for every possible ticket number, but I don't feel that this is very elegant. I'd also want to add other details to the token this way if possible.

The administrator has disabled public write access.

Generating tokens on access 5 years 3 months ago #62834

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9414
  • Thank you received: 1352
  • Karma: 387

You can add an redirect.php file.

This php file take the variable from GET (
Create a token in the (database : SQL INSERT ) and the token = ticket
And redirect to the survey with the tokenid.

Need some work but not so difficult i think.

Assistance on LimeSurvey forum and LimeSurvey core developpement are on my free time (Say thanks ?).
A bug not reported is a bug not corrected. | Please, read the documentation | La doc en français à besoin de vous
The administrator has disabled public write access.
The following user(s) said Thank You: darkshine
Time to create page: 0.295 seconds
Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form