The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
|
![]() |
Check for no sessions and redirect if none on Thank You page? - Printable Version +- Form Tools (https://forums.formtools.org) +-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1) +--- Forum: General Discussion (https://forums.formtools.org/forumdisplay.php?fid=5) +--- Thread: Check for no sessions and redirect if none on Thank You page? (/showthread.php?tid=585) |
Check for no sessions and redirect if none on Thank You page? - Jaace - Mar 19th, 2010 I was wondering if there is a way to add the "no_sessions_url" parameter to the Thank You page on a two page form (non-Paypal). I don't want users to be able to access pages when they aren't supposed to. I tired adding: Code: $params = array("no_sessions_url" => "/page-to-redirect-to"); between the call to ft_api_init_form_page and ft_api_clear_form_sessions on my thank you page...but no luck. RE: Check for no sessions and redirect if none on Thank You page? - martin_undefined - Mar 21st, 2010 Not quite the same thing, but it might give you an idea? I'm using this to check for the presence of form_id (cheers Ben!). Code: // this is probably worth doing, just in case! It makes double-sure that the form ID Presumably you could test for a value that should have been completed and do something similar? (Mar 19th, 2010, 7:39 AM)Jaace Wrote: I was wondering if there is a way to add the "no_sessions_url" parameter to the Thank You page on a two page form (non-Paypal). |