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

TOPIC: How to pass answers to another script without using End URL ?

How to pass answers to another script without using End URL ? 3 years 7 months ago #95059

  • rasheed
  • rasheed's Avatar
  • Offline
  • Senior Lime
  • Posts: 52
  • Thank you received: 3
  • Karma: 1
Hello,

I am sending some questions answers to another script through End URL and I am looking for a more secure way to send this content. I am not an experienced developer but i head there 2 possibilities, either Post method or get the variables diectly from the session. Any hints please ?

Thank you in advance
The administrator has disabled public write access.

How to pass answers to another script without using End URL ? 3 years 7 months ago #95071

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6570
  • Thank you received: 1477
  • Karma: 579
You can make an AJAX call to the remote script.

Here's a post describing the basic jQuery get() function - www.limesurvey.org/en/forum/can-i-do-thi...on-of-a-survey#55975

For more control you can use the jQuery ajax() function - api.jquery.com/jQuery.ajax/.
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The administrator has disabled public write access.
Time to create page: 0.236 seconds
Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form