1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / How to avoid re-login when we switch between the languages

How to avoid re-login when we switch between the languages

4 posts, 0 answered
  1. Vikas Bhalotia
    Vikas Bhalotia avatar
    11 posts
    Registered:
    19 Jan 2010
    26 May 2010
    Link to this post
    Hi,

    We are developing multi - langual web application. Now the problem is that when I login in to the application in one langauge and then switch to other language, I have to re-login.. Please suggest me how to avoid this. Which means that I don't need to re-login switching between the different languages.

    Thanks for all your  help in the advance.

    Best Regards,
    Vikas
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    26 May 2010
    Link to this post
    Hi Vikas Bhalotia,

    You may see this behavior if you use PersistenceMode - Domain Name. In case you use PathPrefix or QueryString the issue should not appear. The authentication cookie is generated per domain name and when you use PersistenceMode - Domain Name and switch the domain the cookie is not valid for the second domain, so you should authenticate at least one time.

    Regards,
    Ivan Dimitrov
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. Vikas Bhalotia
    Vikas Bhalotia avatar
    11 posts
    Registered:
    19 Jan 2010
    26 May 2010
    Link to this post
    I am using PersistenceMode as PathPrefix.  But I still see this issue. I have to login every time when ever I switch between the languages.
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    26 May 2010
    Link to this post
    Hi Vikas Bhalotia,

    I am not able to reproduce this issue. Most probably you have some settings that clear the authentication cookie when you switch the url although we generate the cookie per domain name.

    Greetings,
    Ivan Dimitrov
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Register for webinar
4 posts, 0 answered