Jump to content
  • 0

4 user login redirection


rpcaballero

Question

4 answers to this question

Recommended Posts

  • 0

Here is the tutorial http://howto.caspio.com/authentication/ ... reens.html

if("[@authfield:Position]" == "Admin"){

window.location = "http://www.mysite.com/admin.html";

}

else if ("[@authfield:Position]" == "Management"){

window.location = "http://www.mysite.com/management.html";

}

else if ("[@authfield:Position]" == "Staff"){

window.location = "http://www.mysite.com/staff.html";

}

else{

window.location = "http://www.mysite.com/guests";

}

Link to comment
Share on other sites

  • 0

Does these codes need to be implemented with addition scripts? I have tried to script posted by @MayMusic but after login is see the screen exactly as written on the html page. I'm new to Caspio and i'm really confused about this. Could any one help on how exactly 3 or 4 user login can be executed? Please please....

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...