Clear Session Variables after submission
Last Post 07-24-2012 05:56 AM by Ryan Bakerink. 1 Replies.
AddThis - Bookmarking and Sharing Button
Author Messages Not Resolved
t-boneUser is Offline
river guide
river guide
Posts:77
Avatar

--
07-20-2012 10:18 AM
    Hello all,

    I have a multi-step (wizard-type) DF's.. all passing session variables to the next form. Everything works great, however after the last form when the user submits the information, i want the session variables all to clear.. so that in the event a user hit's "back" (and you know they will), their credit card doesn't get charged again.

    So I need to clear the session variables somehow.. is that the "allow user only one submission" thing in general settings?


    Ryan BakerinkUser is Offline
    river guide
    river guide
    Posts:1900
    Avatar

    --
    07-24-2012 05:56 AM
    Hello T-Bone,

    Perhaps you can add in some JavaScript in the Initial JAvaScript section under Module Configuration -> Advanced Coding Options -> Custom JavaScript file that checks how the user arrived on the page.

    For instance if the back button is what brought the user back to the form, then redirect the user to another page.

    Or better yet, after submitting the final page, put some JavaScript in to disable the Back Button.

    Go to Google and search "JavaScript disable Back Button", you'll find an abundance of resources.

    Let me know if you have any questions.

    Thanks,

    Ryan


    ---
  • film izle
  • 720 izle
  • film
  • sinema izle
  • film makinesi
  • T�rk�e dublaj film
  • film izle
  • film izle
  • baglan film izle
  • sinema izle
  • 1080 film izle
  • film mercegi