<?xml version="1.0" encoding="windows-1252"?>
<node id="1014265" title="Perlmonks 'Not logged in Error' - Proposal for fix" created="2013-01-20 04:24:40" updated="2013-01-20 04:24:40">
<type id="1036">
monkdiscuss</type>
<author id="779185">
tmharish</author>
<data>
<field name="doctext">
&lt;p&gt;
Hi
&lt;/p&gt;

&lt;p&gt;
Anyone who has used perlmonks for any length of time must have come across a scenario wherein ( when they are logged in ) they suddenly see a page of the website wherein they are not. 
&lt;/p&gt;

&lt;p&gt;
I am not talking about &lt;a href="/?node_id=967973"&gt;perlmonks using different sessions&lt;/a&gt; for the domains 'perlmonks.org', 'perlmonks.com' and 'perlmonks.net'
&lt;/p&gt;

&lt;p&gt;
It turns out that perlmonks seems to use different sessions for www.perlmonks.org and perlmonks.org. 
&lt;/p&gt;

&lt;p&gt;
I can kind of see the reasoning for different sessions for .org, .com and .net ( although this might not be good from a search engine point of view and considering we at perlmonks want to promote the wisdom on the site, we might want to think about that.)
&lt;/p&gt;

&lt;p&gt;
Although I can not be sure of this as I do not know how the code works, I believe it is possible that this might solve the 'you are not logged in' issue on some of the &lt;a href="/?node_id=20842"&gt;Other CB clients&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
IMHO I believe www.perlmonks.org and perlmonks.org ( and similarly for the .net and .com ) should use the same sessions. Since &lt;a href="http://builtwith.com/perlmonks.org"&gt;perlmonks uses apache&lt;/a&gt; this can be done by changing some &lt;a href="http://www.webmasterworld.com/apache/3549393.htm"&gt;settings on the virtual host&lt;/a&gt; or ( easier but more load on the server ) &lt;a href="http://www.cyberciti.biz/faq/apache-redirect-domaincom-to-wwwdomaincom/"&gt;adding a .htaccess file&lt;/a&gt;. 
&lt;/p&gt;

&lt;p&gt;
Maybe one of the &lt;a href="/?node=gods"&gt;gods&lt;/a&gt; can give some insight into if this makes sense?
&lt;/p&gt;

&lt;p&gt;
&lt;strike&gt;
&lt;b&gt;Update:&lt;/b&gt;
This should have probably  gone into &lt;a href="/?node=Perl%20Monks%20Discussion"&gt;perl monks discussion &lt;/a&gt; - My Bad! 
&lt;/strike&gt;
&lt;/p&gt;
&lt;p&gt;
Moved by [tobyink] - Thank you. 
&lt;/p&gt;</field>
</data>
</node>
