However, I can only log into 1 at a time. If I log into another one, the previous one will log me out. Is it a bug in my setup or something? I would like to be able to work on 2 differents sites in two browser windows at the same time without having to log in and log out when I switch sites.
have you tried creating a entry in the hosts file for each site and using that to bind to IIS. they should be treated as 2 seperate websites if you do that
If you are using the same browser then you can only log into one instance of Umbraco at any one time. (ok, sometimes it works OK, but sometimes it freaks out).
Either use two different browsers (Firefox, Chrome) or create a new Incognitor/Private browsing session for each site you want to work on simultaneously.
I believe that Umbraco uses the same cookie name for all sites to see whether you're logged in or not, so when you use one browser for two sites, the second site overwrites the login cookie, kicking you out of the first site. (I think)
Maybe the core needs looking a to see how it handles cookies for multiple site admin logins within the same session - as I said, it appears to be setting a cookie named after hte website (e.g. 'mysite.co.uk'") - so there shouldn't ever be an issue (but there is, hence my recommendation to use a private browser session).
Running multiple Umbraco instances on localhost
Hi,
I have the following two Umbraco instances running on localhost on 2 ports:
http://localhost:8001
http://locahost:8002
However, I can only log into 1 at a time. If I log into another one, the previous one will log me out. Is it a bug in my setup or something? I would like to be able to work on 2 differents sites in two browser windows at the same time without having to log in and log out when I switch sites.
Thanks.
I am using Umbraco version 4.0.4.2.
I think this login timed out issues are caused by the Umbraco cookie every time I log into one of the them.
Is there any way to fix this issue regarding my problems stated above?
have you tried creating a entry in the hosts file for each site and using that to bind to IIS. they should be treated as 2 seperate websites if you do that
If you are using the same browser then you can only log into one instance of Umbraco at any one time.
(ok, sometimes it works OK, but sometimes it freaks out).
Either use two different browsers (Firefox, Chrome) or create a new Incognitor/Private browsing session for each site you want to work on simultaneously.
I believe that Umbraco uses the same cookie name for all sites to see whether you're logged in or not, so when you use one browser for two sites, the second site overwrites the login cookie, kicking you out of the first site.
(I think)
Cheers,
Drew
Actually, checking on the cookies - it uses a unique cookier per domain. Just make sure you've set a new site cookie name in your config.
I never tried it, but I've heard you can also try the private browsing mode in IE.
Jeroen
Thanks all for the useful tips.
Drew, how can I do this in my web.config?
"Just make sure you've set a new site cookie name in your config."
Actually, the cookie I'm referring to is probably only used for the Member auth, its in the web.config under:
Maybe the core needs looking a to see how it handles cookies for multiple site admin logins within the same session - as I said, it appears to be setting a cookie named after hte website (e.g. 'mysite.co.uk'") - so there shouldn't ever be an issue (but there is, hence my recommendation to use a private browser session).
Cheers,
Okay thanks, Drew.
is working on a reply...