pfkdesign Posted September 8, 2008 Share Posted September 8, 2008 hi everybody. i wound how can i switch users in admin area to test the users account(log in into the users account by click on link and log in you as his/hes account) using session? SESSION name= user_login_id any idea? ??? Quote Link to comment https://forums.phpfreaks.com/topic/123235-switch-users-in-admin-area/ Share on other sites More sharing options...
ranjuvs Posted September 8, 2008 Share Posted September 8, 2008 Create common page to set the session. In the link for users add the userid and point the url to newly created page. get the user id , fetch the required details from db and set the session. redirect the page to admin home. Quote Link to comment https://forums.phpfreaks.com/topic/123235-switch-users-in-admin-area/#findComment-636434 Share on other sites More sharing options...
pfkdesign Posted September 8, 2008 Author Share Posted September 8, 2008 hi, tnx for reply, i want to be login as his/her account in the system , i dont want the information ( detail about users) but instead of log out and log in with users account, i like to do it by one click in admin area, ( then i will log out as admin and log in as the users account which i desire ). any idea? Quote Link to comment https://forums.phpfreaks.com/topic/123235-switch-users-in-admin-area/#findComment-636437 Share on other sites More sharing options...
ranjuvs Posted September 8, 2008 Share Posted September 8, 2008 that is the same thing I have explained in my last comment... Quote Link to comment https://forums.phpfreaks.com/topic/123235-switch-users-in-admin-area/#findComment-636477 Share on other sites More sharing options...
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.