Logged out every time

Questions and discussion about B-Greek policies or the B-Greek forum.

Re: Logged out every time

Postby Jonathan Robie » November 11th, 2011, 2:53 pm

cwconrad wrote:I don't know whether this helps or not, but I have continued to use the original URL
<http://www-test.ibiblio.org/bgreek/forum/ >
and have found myself always automatically logged in, but whenever I've used the "newer" URL
<http://ibiblio.org/bgreek/forum/>
the automatic login doesn't work. Consequently I keep using the older/original URL that works. I wonder whether the problem has something to do with the shift from "www.test" to "www." in the URL doesn't have something to do with the problem.


It certainly is related to that shift. That much I know ;->
ἐξίσταντο δὲ πάντες καὶ διηποροῦντο, ἄλλος πρὸς ἄλλον λέγοντες, τί θέλει τοῦτο εἶναι;
Jonathan Robie
 
Posts: 1303
Joined: May 5th, 2011, 5:34 pm

Re: Logged out every time

Postby Eeli Kaikkonen » March 7th, 2012, 12:44 pm

I just updated Google Reader to use http://www.ibiblio.org instead of www-test.ibiblio.org. Previously it linked to www-test and cookies worked, but now this problem appeared. Firefox doesn't have any cookies for http://www.ibiblio.org.

Edit: But Chromium (on Linux) seems to work correctly.
Eeli Kaikkonen
 
Posts: 200
Joined: June 2nd, 2011, 7:49 am
Location: Finland

Re: Logged out every time

Postby Murray Hogg » March 7th, 2012, 2:36 pm

With the caveat that I'm far from an expert on cookies...

A quick look at my Cookie cache shows that although I have only ever used the "www.ibiblio.org" domain, the site is setting cookies for "www-test.ibiblio.org"

Looking at the page in code view shows that the java script for cookies is referencing the "www-test.ibiblio.org" domain, not the "www.ibiblio.org" domain:

var style_cookie_settings = '; path=/; domain=www-test.ibiblio.org';

Finally, using the Firefox extension "Edit Cookies" shows that all the cookies reference "www-test.ibiblio.org"

So it looks like the "www.ibiblio.org" domain is setting cookies just fine albeit for the wrong domain, thus no auto-login.

Perhaps a resolution is as simple as updating the domain name in the code for setting cookies and in the cookies themselves?

-Murray
Murray Hogg
Melbourne, Australia
Murray Hogg
 
Posts: 12
Joined: September 21st, 2011, 3:15 pm

Re: Logged out every time

Postby Jonathan Robie » March 7th, 2012, 2:52 pm

Murray,

I just changed that. If this fixes the problem, I owe you a beverage of your choice.

Jonathan
ἐξίσταντο δὲ πάντες καὶ διηποροῦντο, ἄλλος πρὸς ἄλλον λέγοντες, τί θέλει τοῦτο εἶναι;
Jonathan Robie
 
Posts: 1303
Joined: May 5th, 2011, 5:34 pm

Re: Logged out every time

Postby Eeli Kaikkonen » March 7th, 2012, 2:56 pm

Jonathan Robie wrote:Murray,

I just changed that. If this fixes the problem, I owe you a beverage of your choice.

Jonathan


Here's an e-soda from me. Firefox shows that there are cookies now.
Eeli Kaikkonen
 
Posts: 200
Joined: June 2nd, 2011, 7:49 am
Location: Finland

Re: Logged out every time

Postby Jonathan Robie » March 7th, 2012, 3:41 pm

Yeah, it's working for me too ...
ἐξίσταντο δὲ πάντες καὶ διηποροῦντο, ἄλλος πρὸς ἄλλον λέγοντες, τί θέλει τοῦτο εἶναι;
Jonathan Robie
 
Posts: 1303
Joined: May 5th, 2011, 5:34 pm

Previous

Return to Questions

Who is online

Users browsing this forum: No registered users and 1 guest