rpcaballero Posted June 5, 2013 Report Share Posted June 5, 2013 Is there a way to create a redirection page that can redirect to 4 levels of users? I have four types of users - Admin, Management, Staff, and Guests. Thanks, rpcaballero PlurnlopsBurn 1 Quote Link to comment Share on other sites More sharing options...
0 MayMusic Posted June 5, 2013 Report Share Posted June 5, 2013 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"; } Quote Link to comment Share on other sites More sharing options...
0 NailDyanC Posted December 28, 2019 Report Share Posted December 28, 2019 Hi just to update this post, here is the new and updated link in creating a login screen which is user specific:https://howto.caspio.com/tech-tips-and-articles/common-customizations/create-user-specific-redirect-after-login/ Quote Link to comment Share on other sites More sharing options...
0 Lamin Posted March 28, 2020 Report Share Posted March 28, 2020 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.... Quote Link to comment Share on other sites More sharing options...
0 Vitalikssssss Posted March 30, 2020 Report Share Posted March 30, 2020 Hi @Lamin, Please make sure you disable HTML editor before pasting a code snippet. Regards, vitalikssssss Quote Link to comment Share on other sites More sharing options...
Question
rpcaballero
Is there a way to create a redirection page that can redirect to 4 levels of users?
I have four types of users - Admin, Management, Staff, and Guests.
Thanks,
rpcaballero
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
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.