Split url

I cannot figure why the urlsplit[1]!='api'&&urlsplit[1]!='cwadmin' code is not working. I have gone over numerous times. Any help would be greatly appreciated Thanks!

use an alert or setValue with output to see what the value is for urlsplit[1]

Search PATH_INFO in the forum, you might find me talking about it somewhere

The expression looks fine to me. To be sure it works, can you just add this whole expression to a set value step and output its results. It should return true or false depending on the results.

Thanks for your quick response. I went back over the quickstart tutorial page and found my problem. Code syntax was correct I didn't get all the steps in correct order. Everything is workin as it should now . Thanks again

1 Like