We've Moved! Please visit our new and improved forum over at our new portal: https://portal.plumvoice.com/hc/en-us/community/topics

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

Answers to common Plum DEV questions

Moderators: admin, support

Locked
support
Posts: 3632
Joined: Mon Jun 02, 2003 3:47 pm
Location: Boston, MA
Contact:

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

Post by support »

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

Locked