How do I submit data even if the user hangs up?

Answers to common Plum DEV questions

Moderators: admin, support

  • Author
  • Message
Offline

support

  • Posts: 3628
  • Joined: Mon Jun 02, 2003 3:47 pm
  • Location: Boston, MA

How do I submit data even if the user hangs up?

PostTue Apr 15, 2008 3:41 pm

To account for people who hang up, you could do the following:

Code: Select all

<catch event="connection.disconnect">
<submit
next="catchdisconnect.php" namelist="var1 var2 var3" method="post"
enctype="multipart/form-data"/>
</catch>
</form>



By adding in this disconnect event handler, you would be able to submit your data, regardless of whether the user hangs up or not.

Hope this helps.

Regards,
Plum Support

Return to Plum DEV FAQs

Who is online

Users browsing this forum: No registered users and 1 guest

cron