Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I have a weird issue on production.
When a member login and switch language he gets logged out, but if he login again and switch language again, then all works fine.
On my local machine, I don't have that issue.
I am using Umbraco 8.18.5
how are you/they switching language?
@foreach (var (culture, infos) in Model.Root().Cultures) { <a class="dropdown-item py-0 px-2" href="@(Model.Url(culture) + Request.Url.Query)"><span class="flag-results"><span class="fflag @infos.Culture ff-sm"></span></span> @(infos.Culture == "de-de" ? "DE" : "EN")</a> }
Basicaly if url is example.com/de and i manualy change url to example.com/en without using language switcher in navigation i would be logged-out, so i think its not the problem in this part of the code, also it works normaly on my local machine.
example.com/de
example.com/en
I can't think of anything that should cause users to be logged out, but I will do some testing myself to see if I can replicate your issue
Aditional information: I have one more project where i use same logic and its hosted on same server and i dont have this issue on that site.
Maybe there is problem with some configuration file but i dont know where to look.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
member is logged-out on language switch
I have a weird issue on production.
When a member login and switch language he gets logged out, but if he login again and switch language again, then all works fine.
On my local machine, I don't have that issue.
I am using Umbraco 8.18.5
how are you/they switching language?
Basicaly if url is
example.com/de
and i manualy change url toexample.com/en
without using language switcher in navigation i would be logged-out, so i think its not the problem in this part of the code, also it works normaly on my local machine.I can't think of anything that should cause users to be logged out, but I will do some testing myself to see if I can replicate your issue
Aditional information: I have one more project where i use same logic and its hosted on same server and i dont have this issue on that site.
Maybe there is problem with some configuration file but i dont know where to look.
is working on a reply...