Multiple users to log solution

2010-12-25  来源:本站原创  分类:Ruby  人气:73 

Sometimes, we encounter such a problem: we need to use different login system as user account, how to solve it?

First with an account you can log out after use, and then log in another account. Or, you can install multiple browsers, a browser to log in a account to log in another browser to another account. Because a browser at the same time under the same domain only allows one account login.

In the development of machines you may install multiple browser, such as ie, firefox, chrome, etc., and then each browser to log on to different accounts multiple users to log in, but this is too much trouble.

Now, we look at the other implementations.

Open the / etc / hosts, you can give this machine a few more names. For example: 127.0.0.1 localhost abcd, so that we can, through some of the following url to access the:

http://127.0.0.1:3000 a user login

http://localhost:3000 b User Login

http://a:3000 c User Login

http://b:3000 d Login

http://c:3000 e User Login

http://d:3000 f User Login

You can just open a browser and open a few tab, visit the above were a few url, and then log in different users.

This program, you do not have to install so many browser. Of course, this not only can be used for local testing, you can use to test your website. For example: Do you have a website, domain name is http://demo.project.com, you can also modify / etc / hosts as follows: 192.1.2.3 http://demo.project.com aa bb cc dd

Enabling multiple users to log.

相关文章
  • Multiple users to log solution 2010-12-25

    Sometimes, we encounter such a problem: we need to use different login system as user account, how to solve it? First with an account you can log out after use, and then log in another account. Or, you can install multiple browsers, a browser to log

  • multiple custom log4j log file output 2010-03-05

    powerful features of log4j is no doubt, but inevitably encounter in the practical application of a feature requires a separate log file output case, how can the required separation of content from the original log to form a separate log file? In fact

  • Vsftpd under Centos build service (2 )---- remote users can not log solution 2011-04-22

    Method One: Turn off firewall [[email protected] init.d]# /etc/rc.d/init.d/iptables stop Flushing firewall rules: [ OK ] Setting chains to policy ACCEPT: filter [ OK ] Unloading iptables modules: [ OK ] [[email protected] init.d]# service vsftpd restart Sh

  • Ubuntu errors modify the system variables can not log solution 2011-09-08

    If the pull is because the modified environment variables lead to errors such as not log on. ctrl + alt + f1 to enter the terminal, then you want to use the edit command will prompt an error. You can enter export PATH = / usr / bin: / usr / sbin: / b

  • fedora10 after the installation, root user can not log solution 2011-09-08

    1, as a normal user login to a Linux system; 2, select "Applications | System Tools | Terminal" to open the terminal command window; 3, use su - root command to switch user to root user; 4, using the vi editor to open / etc / pam.d / gdm; 5, wit

  • Terminal server has exceeded the maximum allowable number of connections --- solution [transfer] 2010-11-30

    Terminal server has exceeded the maximum allowable number of connections --- a total of four posts a solution, Hits: 11733 User: 222.212.199 .*** 2007-5-4 20:24:44 landlord] [back at the top of the list Server is installed in Windows 2003, I used the

  • Log component - imitation of the configuration of log4j 2010-11-29

    Configuration file is named: log.properties jar package has a configuration file, did not write dtd file, the following description of the configuration file: ================================================== ============= # Level set: debug> info>

  • RedHat Linux common log files and common commands 2011-09-20

    Successful management of any system of one of the keys is to know what is happening in the system. Linux provides an exception in the log and the log details are configurable. Linux logs are stored in clear text, so users do not need a special tool y

  • EFK: Open Source Log Search and Visualization 2015-02-14

    An Article from Fluentd Overview Elasticsearch, Fluentd, and Kibana (EFK) allow you to collect, index, search, and visualize log data. This is a great alternative to the proprietary software Splunk, which lets you get started for free, but requires a

  • (Turn) OpenID concept. Principles and Case Introduction 2010-03-18

    OpenID find a good introduction article, share what: Source: http://www.userkon.com/kidult/openid_intro.html What is OpenID? OpenID concepts, principles and case description Time: December 12, 2009 | Author: 00 | Category: Product Thoughts Tags: iden

  • TSVNCache.exe CPU-high problem-solving 2010-03-02

    Just install the latest version of the svn machine feel very slow reaction, view process CPU-found TSVNCache.exe higher, even 100% occupied, after the Internet search solution, this time because of the problems caused after installing TortoiseSVN, wh

  • oracle chain reaction 2010-08-02

    1, client server access to Oracle PL / SQL Developer Times ora-01033: oracle initializationg or shutdown in progress error message, can not connect Oracle applications services. Solution: a, sqlplus "/ as sysdba"; b, shutdown c, startup When it

  • XP Remote Desktop users to modify restrictions 2011-04-01

    Transfer http://hi.baidu.com/494947/blog/item/b00ea638a28dd8cbd4622563.html 1 set an administrator password; 2 By default, Windows 2000 and previous system did not install the remote desktop, in these systems in order to use Remote Desktop, you need

  • Some commonly used open source segmentation tool 2011-08-26

    SCWS : Author: Hightman Algorithm: based on word frequency dictionary of Chinese word mechanical engine, uses a collection of word frequency dictionary, supported by certain proper names, place names, in the digital age and other rules to achieve the

  • slf4j Introduction 2010-03-29

    SLF4J is not a specific log solution, it only serves a variety of log system. In accordance with the official statement, SLF4J is a logging system for a simple Facade, allowing end-users to deploy their applications they want to use the log system. S

  • SLF4J Introduction (Tibet) 2010-04-07

    Author: Zhong Nan "li.zhongnan @ hotmail.com" SLF4J is not a specific log solution, it only serves a variety of log system. In accordance with the official statement, SLF4J is a logging system for a simple Facade, allowing end-users to deploy th

  • The use of Java to realize the remote control of PTZ and lens 2009-11-23

    Abstract: Based on China's actual situation and future development trends, to develop Java-based video surveillance system to realize the remote control PTZ and lens. System, including RS-232/RS-485 conversion, decoder and PTZ, lens and their connect

  • WinXP Remote Desktop Several Newly fluff 2010-03-03

    WinXP Remote Desktop Several Newly fluff Adding Remote Desktop for the system By default, Windows 2000 and before the system does not install Remote Desktop, to these systems using Remote Desktop, need to manually add their own. In the Windows XP ins

  • Sum up the work in the Sybase database (6) 2010-04-08

    Some exceptions and on the common approach 1. The following statement is used to handle the log full of Sybase data when (The transaction log in database EBILLS is almost full. Your transaction is being suspended until space is made available in the

  • Multi-user remote desktop login 2010-05-27

    Window XP does not support multiple users simultaneously log on Remote Desktop, when other users remote access Window XP, the host is currently logged on user will automatically exit. But in the Window XP SP2 provides concurrent sessions allowed to c