Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Perlmonks 'Not logged in Error' - Proposal for fix

by Corion (Pope)
on Jan 20, 2013 at 10:04 UTC ( #1014270=note: print w/ replies, xml ) Need Help??


in reply to Perlmonks 'Not logged in Error' - Proposal for fix

Perlmonks simply sets a cookie and whatever client you use remembers it for whatever hostname you use. There is no way to convince a browser by doing .htaccess magic or other server configuration so that the browser sends a cookie for www.perlmonks.org when it accesses perlmonks.org.

We could make http://perlmonks.org always redirect to http://www.perlmonks.org, but I'm not really convinced that there actually is a problem.


Comment on Re: Perlmonks 'Not logged in Error' - Proposal for fix
Select or Download Code
Replies are listed 'Best First'.
Re^2: Perlmonks 'Not logged in Error' - Proposal for fix (autocorrect perlmonks linking shortcuts in preview )
by Anonymous Monk on Jan 20, 2013 at 10:13 UTC

    99% of the problems could be fixed by autocorrecting perlmonks linking shortcuts in preview (and whatever processes chatterbox talk)

    The problem is folks typically use  [ http...perlmonks...node_id=... ] instead of  [id://...#] or rarely the  <a href="http...perlmonks..."> which results in unrelative links

    This could be easily fixed for new nodes

      99% of the problems could be fixed by autocorrecting perlmonks linking shortcuts
      I agree. I have done that in my forum software (with the possibility to turn it off), and it's really helpful
Re^2: Perlmonks 'Not logged in Error' - Proposal for fix
by tinita (Parson) on Jan 20, 2013 at 12:16 UTC
    Not by server configuration, but by changing the code.
    You could explicitly set the cookie domain to .perlmonks.org for http://perlmonks.org and http://www.perlmonks.org
Re^2: Perlmonks 'Not logged in Error' - Proposal for fix
by tmharish (Friar) on Jan 20, 2013 at 10:30 UTC
    We could make http://perlmonks.org always redirect to http://www.perlmonks.org

    Which is what I was hoping for!

    I'm not really convinced that there actually is a problem.

    I am not so sure about that - For those more experienced, it certainly is not a problem. But for someone new to programming it might be.

    Wouldn't it make more sense to let those who know what they are doing go through a little more effort to achieve a couple of things ( such as post from multiple users using different domains ) and so on rather than forcing those who are relatively new to make sure they use relative links?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1014270]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2015-07-29 10:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (263 votes), past polls