Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > Problem with more web sites View modes: 
User avatar
Member
Member
oli70it - 7/30/2010 9:05:32 AM
   
Problem with more web sites
I have one installation and more sub installation like www.mysite/web1 second site www.mysite/web2 etc
The problem is when I am in CMSDesk like global administration and I want to swich to another web site then the system redirect to logonpage and every time I need to login to specific sites.

Its possible to fix this

User avatar
Kentico Developer
Kentico Developer
kentico_ivanat - 8/2/2010 2:59:24 AM
   
RE:Problem with more web sites
Hi,

could you open each site in a different browser session or in a different browser? This way, you will not be redirected every time.

Best regards,
Ivana Tomanickova



User avatar
Member
Member
AlgarveWeb - 8/2/2010 5:06:23 AM
   
RE:Problem with more web sites
Hi

I have the same situation and find this a strange answer?

What is the point of having the Site Selection Dropdown if it does not allow even the Global Administrator to easily go from one site to another?

I have 24 sites in one installations, imagine all the logouts/logins I have to do!

Cheers

Mike

User avatar
Kentico Developer
Kentico Developer
kentico_ivanat - 8/2/2010 6:17:38 AM
   
RE:Problem with more web sites
Hi.

In case you have one installation and several sites created in this one installation, multiple log in is not needed. You can simply add user to new site. Site Manager - Administration - Users - Edit - Sites - Add sites. The administrator user is added by default. So you can switch among sites in Site Manager - Sites without login.

Best regards,
Ivana Tomanickova





User avatar
Member
Member
AlgarveWeb - 8/2/2010 6:28:53 AM
   
RE:Problem with more web sites
Hi

Thanks, but thats not what is happening:

I am Global Administrator to all 24 Sites but whenever I try select another site the software logs me out and I have to login again.

Mike

User avatar
Kentico Developer
Kentico Developer
kentico_ivanat - 8/2/2010 7:17:09 AM
   
RE:Problem with more web sites
Hi Mike

Could you please specify what does it mean "whenever I try select another site"?

Do you mean in Site Manager - Sites - click on red square to stop running site and then click on green triangle to run another site? Does the software log you out after this switch?

Thank you for information.

Best regards,
Ivana Tomanickova


User avatar
Member
Member
AlgarveWeb - 8/2/2010 7:44:01 AM
   
RE:Problem with more web sites
Hi

No, it occurs when I select a Site in CMS Desk.

Mike

User avatar
Kentico Developer
Kentico Developer
kentico_ivanat - 8/2/2010 8:16:39 AM
   
RE:Problem with more web sites
Hi Mike

It is working fine for me. All I had to do was to check remember me in the login prompt. Then I could switch among sides without redirection to login page.

Does the application redirect you instead of you check remember me?

Best regards,
Ivana Tomanickova




User avatar
Member
Member
AlgarveWeb - 8/2/2010 8:27:15 AM
   
RE:Problem with more web sites
Hi again

Just tested it again (IE, FF, Chrome) and it always logs me out, even if I check Remember me.

Mike

User avatar
Kentico Developer
Kentico Developer
kentico_ivanat - 8/3/2010 4:21:57 AM
   
RE:Problem with more web sites
Hi,

I’m sorry for misunderstanding your request.

If you run several web sites in one Kentico CMS instance, you have to log in to each site only once. Each site is running on different domain. It means that cookies has to be saved for each domain. In your case, you have to login 24 times to have all authentication cookies created. If you do not delete these cookies and they also do not expire (you can use “Remember me” option to set validity of the cookie to very long time – one year), you will not be redirected to login page for given web sites when switching between them in CMS Desk.

In case you do not wish to log in 24 times, I would recommend you to read article about sharing cookies.

Thank you.


Best regards,
Ivana Tomanickova



User avatar
Member
Member
robert-tailor.co - 8/14/2012 4:53:32 PM
   
RE:Problem with more web sites
Hi,

I have multiple sites running under the same domain:

my.website.com/site1
my.website.com/site2

Every time I click to switch to a different site in CMSDesk's site selector, I get prompted to re-enter my login details, even when I have clicked 'Remember Me'.

All the sites are running on the same domain under the same Kentico installation, and each is setup as a web farm.

How can I get Kentico to not require a login every time?

User avatar
Kentico Developer
Kentico Developer
kentico_ivanat - 8/18/2012 4:46:38 PM
   
RE:Problem with more web sites
Hi,

in version 6.0 it is supported by default setting option Automatically sign-in user when site change in the Site Manager -> Settings -> Membership.

How to implement single sign on in 5.5 R2 is described here:
Single sign on

You can also take a look here. the code worked for me well.

Best regards,
Ivana Tomanickova