I have a Node site setup a database query.
I have a condition that sets a value in a database update and outputs another value.
I have an Action Scheduler running every few minutes and I would like upon the condition being met (loggedin == ‘3’) that it redirects to the redirectURL value
I have added the browser component, but am struggling to get the redirect when the condition is met.
Any pointers would be appreciated.
Thanks in advance
There was a discussion about this here. I don't know about NodeJS, but the redirect step seems to work as you would expect with PHP. @Teodor confirms this in the discussion referred to, but @George recommends not using it in this way. I don't know why this is. It would seem a more obvious and often simpler approach. Perhaps it doesn't work in some cases.