Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsLanguage PacksLanguage Packscookie problemcookie problem
Previous
 
Next
New Post
9/12/2005 6:09 PM
 

Is DNN too cookie dependent when it comes to localization?

For example, I have a site whose default language is set to Spanish.  A user logs in to the site whose personal localization is set to English.  That user logs out, but the cookie is still set to English for that site.  Anyone viewing that site from the same machine will see it as English.  The only way to reset it to Spanish is to delete the cookie, or have some other user log in to that site on the same machine whose personal localization is set to Spanish.

Is it necessary to have this value stored in the cookie?  Should this value be cleared from the cookie when the user logs out?

 

 
New Post
9/13/2005 2:56 AM
 

Are you sure this is the usual behaviour "Anyone viewing that site from the same machine will see it as English" ? I think the cookies are defined per user not per machine.

Maybe the problem is the user language preferences setup on the browser (in IE look under Tools - Options - General Tab - Languages.


Vicenç Masanas
Banyoles, Girona - Spain

Disgrafic.com    PSD to DNN
 
New Post
9/13/2005 3:08 AM
 
Actually the cookies are not defined per user, only per machine. This is because the cookies only have real function for anonymous users.
 
Of course, the usage of cookies for language selection should be more granular. For instance, a portal admin should be able to choose whether to use cookies at all, or anonymous language selection for that matter.
 
I'd be willing to do some modifications in this area and present those to you Vincenç...
 
cheers,
 
erik

Erik van Ballegoij, Former DNN Corp. Employee and DNN Expert

DNN Blog | Twitter: @erikvb | LinkedIn: Erik van Ballegoij on LinkedIn

 
New Post
9/13/2005 4:21 AM
 

Erik,

I think, there is a misunderstanding of Vicenc's post: most OS/browsers store cookies per machine user and per site, so only  anonymous users on public PCs may run into the previously described situation using the same cookie - when the second one visites a DNN site, another user looked at before. This might be an occuring problem for (regionally) very popular sites.

I see the major problem with language detection from the browser, as many international sites currently support only one (non-english) language and a visitor with en-US setting in his browser (maybe he just did not change installation default) sees an English framework, even if the portal admin disabled en-US for the portal. IMHO this needs to be fixed in the next release!


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
9/13/2005 4:32 AM
 
Sebastian,
 
Thank you for that clarification. I think unconsiously i assumed the usage of a public pc, and in that case the cookie would be used for different anonymous users.
 
I agree the automatic language detection should not be mandatory. One (previously discussed) solution would be to add a checkbox "Fixed" in the language setting of the portal settings, indicating that that language should always be used.  A nicer solution would be if on a per portal basis a portal admin could control the usage of the automatic language discovery...
 
cheers,
 
erik

Erik van Ballegoij, Former DNN Corp. Employee and DNN Expert

DNN Blog | Twitter: @erikvb | LinkedIn: Erik van Ballegoij on LinkedIn

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsLanguage PacksLanguage Packscookie problemcookie problem


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out