Hello, I'm very new to drupal & don't really have knowledge of PHP. I'm trying to create a site which would have users with various permissions depending on their roles. To efficiently test the site I need to allow multiple logins to the site at the same time. Meaning, for example, in the same browsers window I want to have 4 tabs open where in each tab I'm logged on as a different user to the site (tab1: logged on as user A, tab2 --> user B, and so on. Basically, each tab or browser window should be considered as a new session when opened simultaneously. How do I do this?

I'm using XAMPP on windows and am running multisites on Drupal.

Comments

yelvington’s picture

You can't, because logins depend on PHP sessions/cookies. You need to use different browsers. Run Firefox, Safari and Opera side by side.

andybrace’s picture

browsers are not setup to work in this way, you have one session cookie per browser. An alternative method (something I do) is to use FF, IE, Safari, Opera simultaneously to have 4 separate user sessions. Another method would be to use the cookieswap addon for firefox (https://addons.mozilla.org/en-US/firefox/addon/3255). This allows you to have 3 sessions open simultaneously and you can swap between them as you need to. It does not, however, allow you to have separate tabs for each session.

Hope this helps.

zeta ζ’s picture

Could you set up multiple sites with domains such as;-

  • user1.example.com
  • user2.example.com
  • user3.example.com
  • user4.example.com

but all actually the same site.

Only you can decide if this is worth the candle…
___________________
It’s in the detaιls…

demonstration portfolio

lionheart8’s picture

As Yelvington says, you need to have different browsers installed (another: k-melon). There you can log in as a different user in each browser instance.

n00bie’s picture

Thank you everyone for your replies. Given the options, it looks like installing multiple browsers is the best option for now. :)

cyclefan’s picture

on windows IE if launched from the tool bar will create a seperate instance

here is a work around for FireFox - http://house9.blogspot.com/2008/04/update-firefox-and-multiple-cookies-f...