New topic Closed topic
avatar image
1
Auto redirect for logged on webuser
By Created , last editted

Hi there,

I am trying to automatically redirect a logged on user to another page from my login-page. I have an action in my login page checking a "webuser" variable and if so it redirects to the restricted content fabulously :-)

If, however, no user is logged on the action gives an error:

Error: UnknownVariableError: webuser is missing (available: is_sandbox)

I tried blank?, nil? and != nil checks in the condition for the webuser variable but all of them give me this error. Does anyone have this working without errors? 

Thanks!


Hi there,

I am trying to automatically redirect a logged on user to another page from my login-page. I have an action in my login page checking a "webuser" variable and if so it redirects to the restricted content fabulously :-)

If, however, no user is logged on the action gives an error:

Error: UnknownVariableError: webuser is missing (available: is_sandbox)

I tried blank?, nil? and != nil checks in the condition for the webuser variable but all of them give me this error. Does anyone have this working without errors? 

Thanks!

Answers
Sort by:

This topic is closed.