Parsing session info between WordPress and non-WordPress

Use javascript, loading from your app – example.com and save the relevant info in cookie. Then on the WordPress, again using javascript, loading from your app (this is important to be able to read cookie) to read value of that cookie and update the page accordingly.

How to check if the user was redirected?

You can use wp_get_referer function to acheive your requirement. Below is the useful code snippet for you. function wdm_referer() { global $post; if( post type is child ) { $child_post_id = $post->ID; $parent_id = get_parent_course_id($child_post_id); // your custom function to get parent course id if( parent task is not completed ) { // a condition … Read more

Session is not working properly

Any caching solution will probably break sessions. Try turning off all caching (as well as CloudFlare proxy for your IP address) and see if your code works. If you have a WordPress caching plugin – turn that off too. If your hosting provider does some caching – turn that off too. After turning off all … Read more

techhipbettruvabetnorabahisbahis forumueduedusedusedusedusedueduedueduedus