The English translation of my Drupal installation runs on MYSITE.com and my German translation runs on MYSITE.de. Of course, I want my users to be able to switch languages without having to log in again.  I read that there is no way to set cross domain cookies for domain1.com and domain2.com if they point to different websites, only for subdomains 1.domain.com and 2.domain.com. Is there any way to set a cross domain cookie in my case, where both domains point to the same installation?
I have a site that is in French and English. I am able to successfully setup so that users can switch back and forth between the two domains to view either language, however I cannot seem to keep users logged in. When they are logged into the english domain and then switch to the french domain they are required to login again. However if they switch back to the english domain they are still logged in.  As an example we'll use www.english-domain.com as the base (default) domain and www.french-domain.com as the secondary domain  In settings.php I have modified the following, however it doesn't seem to be keeping them logged in. Am I missing something?  /**  * Drupal automatically generates a unique session cookie name for each site  * based on its full domain name. If you have multiple domains pointing at the  * same Drupal site, you can either redirect them all to a single domain (see  * comment in .htaccess), or uncomment the line below and specify their shared  * base domain. Doing so assures that users remain logged in as they cross  * between your various domains.  */ $cookie_domain = 'english-domain.com';   Note: That I have also flushed both site and browser cache as well as deleted any cookies left on my machine.  Update:  Here are my language settings:
How to avoid getting shocked by static electricity? sometimes I get "charged" and the next thing I touch something that conducts electricity such as a person, a car, a motal door, etc I get shocked by .  I'm trying to avoid this so if I suspect being "charged" I try to touch something that does not conduct electricity (such as a wooden table) as soon as possible, in the belief that this will "uncharge me".   Is it true that touching wood will uncharge you? How and when do I get charged? I noticed that it happens only in parts of the years, and after I get out of the car... How would I find a minimum weight spanning tree for W? Is it possible to set a DNS record to redirect all example.com/* traffic to www.example.com/*?  I'm running a  app on Heroku's .  I set up , and the documentation discusses . I also read about how to do this with . However, I'm wondering if there's a way to do this via DNS, i.e., without hitting my app. pgfplots axis scaling Is it possible to define in pgfplots that y should correspond to Y cm in my plot?   I know how to do this in tkz-fct, so let me add an tkz-fct example to make more clear what I want:  \documentclass{article}  \usepackage{pgfplots} \usepackage{tkz-fct} \usetkzobj{all}  \begin{document}  \begin{tikzpicture}[scale=.5] \tkzInit[xmax=10,ystep=3,ymax=10] \tkzAxeXY \tkzGrid \tkzFct[color=red, thick,domain=0:10]{\x} \tkzFct[domain=0:10]{\x**2} \end{tikzpicture} \begin{tikzpicture}[scale=.5] \tkzInit[xmax=10,ystep=1.5,ymax=10] \tkzAxeXY \tkzGrid \tkzFct[color=red, thick,domain=0:10]{\x} \tkzFct[domain=0:10]{\x**2} \end{tikzpicture}   \end{document}     In one case 3 corresponds to 0.5 cm on the y-axis in the picture, in the other case 1.5 corresponds to 0.5 cm on the y axis. This is achieved by using the scale=0.5 option together with the ystep option.  Not that it is important for me to have grids as in the tkz-fct example. Can you trip as part of a Tome of Battle Maneuver? If a ToB Maneuver such as Daunting Strike calls for a melee Attack as part of the maneuver, can this melee attack be resolved as a trip attack/include a trip attempt? How to know if Google Sheets IMPORTDATA, IMPORTFEED, IMPORTHTML or IMPORTXML functions are able to get data from a resource hosted on a website? Google Sheets has several import functions   IMPORTDATA IMPORTFEED IMPORTHTML IMPORTXML   Sometimes the above functions returns errors like #N/A Imported content is empty and would like to be sure that there isn't a problem with the resource content to be imported.  How do I know if these functions are able to get the content that I looking to import?  I know that there also exist IMPORTRANGE but that function only is able to import content from Google Sheets spreadsheets How can I work with file uploads during a Webdriver test? This is a canonical question, intended to provide a comprehensive answer to many related questions  During the course of a Webdriver test, I want to upload files. However, this opens a native file picker, which Webdriver doesn't seem to support interacting with. How do I interact with it? I'm trying to typeset a table that would have a header in the first row (I'm not looking for a different/better solution to adding a header, but for a fix to this solution. Thanks). I want to achieve this by having a multicolumn cell spanning all the columns of the first row. The problem is that if the text is too long, the column widths are uneven, with the last column accumulating excess width. I would expect all of the columns to be of approximately the same width (although I cannot find a decent source that would say they should), given the fact that all the text in the second row is of approximately the same width.  I find this behaviour quite puzzling and have no idea what the cause could be. I know I could perhaps remedy this by manually setting the column widths, but am curious as to how to fix this without doing that (I do not need or indeed want the columns to be of the same width, but roughly proportional to the length of their content), preferably but not necessarily by using the tabular environment only (some other conflict with the document class I am using).   What is it that I'm doing or assuming wrong? And why?  MWE:  \documentclass{article} \begin{document}  \begin{tabular}{ccccc} \multicolumn{5}{c}{This is a piece of text. The longer it is, the longer the last column.} \\  1 &amp; 2 &amp; 3 &amp; 4 &amp; 5 \\ \hline \end{tabular}  \end{document}   Resulting table. Notice how the last column of the second row accumulates excess width. Let $A$ , $B$ be topological spaces such that there for some subset $D$ of $B$ there is a homeomorphism form $A$ to $D$ and for some subset $E$ of $A$ there is a homeomorphism form $B$ to $E$ ; then must there exist a homeomorphism from $A$ to $B$ ? Background  Recently  was implemented. With this feature the amount of questions with new activity is shown in parenthesis at the beginning of the page title, e.g.     (2) Meta Stack Overflow   means that MSO has two questions with new activity since the user last viewed it.   this feature is unrelated to inbox updates. Here is an example to illustrate this:    Even though there are two inbox messages in this screenshot this is not reflected by the page title. The page title is currently only sensitive to questions with new activity.  Suggestion  I suggest that the page title also reflects inbox updates. For the screenshot above this would mean that the page title shows that there are two inbox updates and two questions with new activity.  I am not sure what format is best for showing this. For chat * in the page title is used to show that there are messages directed at you which is similar in meaning to inbox updates. However, * if is placed after the number in parenthesis to denote inbox updates there might be confusion as there is no connection between the number in parenthesis and * like in chat. Thus, one might prefer another format such as one of the following (all are meant to reflect the status of the screenshot above):      * (2) Meta Stack Overflow     2* (2) Meta Stack Overflow     [2] (2) Meta Stack Overflow     2i 2q  Meta Stack Overflow     (2/2)  Meta Stack Overflow     (2|2)  Meta Stack Overflow    For the alternatives without an explicit hint of which number refers to what it might be best to place the number for questions with new activity first as it will in most cases be greater. This will to a greater degree avoid combinations such as "(0/2)" which may be confused zero of two.  An advantage of the suggested feature is that if the user has a browser tab with a Stack Exchange site then they will be instantly notified of inbox updates. They do not need to focus a tab with a Stack Exchange site to know if there are inbox updates, they merely have to check the relevant page titles among their tabs.  A disadvantage of the suggested feature is that it might be experienced as verbose. I suggest that it is implemented such that it is as unobtrusive as possible while still being informative. Think of a situation where a user has   one Meta Stack Overflow tab with two inbox updates relating to Meta Stack Overflow and two questions with new activity, and one Super User tab with one inbox updates relating to Super User and three questions with new activity.   Then the sum of the inbox notification in the page titles should be local to sites and not global. The page titles for the tabs above should be something like the following pair:      2i 2q  Meta Stack Overflow     1i 3q  Super User My question is in the title. I'm a little lost in how to solve this problem. There is a hint associated with the problem that states the following:   Use a line integral to show that $ |f(z)| \leq A + |z| $ where A = $\max\{1, |f(0)|\}$  Thanks for the help. I need to define a new command to create a squiggle arrow with some text on it. Something similar to what \xrightarrow command produces but with wiggly arrows as in \rightsquigarrow. The length of the arrow should automatically be adjusted to fit the text above it and I do not know how to handle this part in TikZ. Any ideas would be much appreciated. My "network reputation" graph does not accurately reflect my accounts I understand that the first point release of Ubuntu 18.04, namely 18.04.1 is now available and that my system should now offer it as an update.  My current OS version is 16.04.5 LTS. In System Settings/Software and Updates I have set 'Notify me of a new Ubuntu version' to 'For long term support versions'. I have tried both the main server and the server for United Kingdom, neither offers an update when Software Updater is clicked or via the Ubuntu Software icon.  Can anyone please tell me why I don't get the option of updating to 18.04?  Edit:  I don't remember the details exactly, but I think that my last LTS point release update was offered automatically a lot sooner after the published release date than where we are now with 18.04.1.  Edit 10th August  It appears that there has been some problem with the update process and that it should be fixed next week, see:    Edit 14th August 18.04.1 LTS now available from UK server, Is it possible to detect a player consuming food items? What are the fundamental differences between the mainstream *NIX shells and what scenarios might prompt you to use one over the other?  I understand that some of it probably comes down to user preference but I've only ever used Bash and I'm interested to hear where another shell might be useful. Also, is there an impact on user-written shell scripts when running under one shell or another or is it simply a matter of changing the shell at the top of the file?  My instinct says it's not that easy. What is object serialization? What is meant by "object serialization"? Can you please explain it with some examples? I've never been quite able to figure out how groups work in Blender (at least not since 2.5/6x). Is it possible to group several objects and then manipulate them (scale, rotate, translate) as one? Does untapping an attacker stop its attack? Objects stuck in solid mode? I can't figure out what is causing this I tried removing the materials for the objects as well as re-assigning new materials and flipping normals I don't know what is causing this issue for the model.  The head seems to be working like it should but the body doesn't turn white in textured mode or black in material mode. I'm using default blender render