Check out Grant Acedrex, our featured variant for April, 2024.


[ Help | Earliest Comments | Latest Comments ]
[ List All Subjects of Discussion | Create New Subject of Discussion ]
[ List Earliest Comments Only For Pages | Games | Rated Pages | Rated Games | Subjects of Discussion ]

Comments/Ratings for a Single Item

Earlier Reverse Order Later
Test comment[Subject Thread] [Add Response]
🕸Fergus Duniho wrote on Mon, May 1, 2017 07:19 PM UTC:

This is a test comment for testing code with. I am writing this at 3:18 EDT.


🕸Fergus Duniho wrote on Mon, May 1, 2017 08:56 PM UTC:
This test comment has no HTML. Here is an URL: http://www.chessvariants.com/

🕸Fergus Duniho wrote on Mon, May 8, 2017 03:45 PM UTC:

Entering this comment without signing in first.


🕸Fergus Duniho wrote on Mon, May 8, 2017 03:50 PM UTC:

To keep things straight, here is what is happening.

  • When I enter a comment with my password, I do not remain signed in.
  • When I enter my userid and password on the Game Courier logs page, I do remain signed in, but when I sign out, I remained signed in on the play domain but not the main domain.
  • When I sign in through the menu, I can remain signed in until I sign out with the menu.

🕸Fergus Duniho wrote on Mon, May 8, 2017 04:34 PM UTC:

Session cookies deleted. Entering comment with password again.


🕸Fergus Duniho wrote on Mon, May 8, 2017 04:38 PM UTC:

No session cookies were created. I have now added code to the login function to create a new session if one doesn't already exist.


🕸Fergus Duniho wrote on Mon, May 8, 2017 04:42 PM UTC:

That worked, but when I logged out, I remained logged into the play subdomain. I have now deleted the cookies I have in that subdomain, and I will try again.


🕸Fergus Duniho wrote on Mon, May 8, 2017 04:48 PM UTC:

Again, I logged out, and the play subdomain did not log out too. It appeared to create a duplicate session cookie on play.chessvariants.com. So I added a line of code to have it set it on .chessvariants.com. I'll now test if that worked.


🕸Fergus Duniho wrote on Mon, May 8, 2017 05:08 PM UTC:

The particular page I was testing on play.chessvariants.com was a .php page that was running pass_okay() before the header was included. An .html page I tested did not have the same problem, and when I moved the pass_okay() below the inclusion of the header, it showed me as logged out.


🕸Fergus Duniho wrote on Mon, May 8, 2017 07:24 PM UTC:

Logging in is starting to be synchronized between the domain and the subdomain. I am getting rid of novel session names, and I am making sure the cookies get put on the .chessvariants.com domain. I am now trying to enter a comment while not already logged in again.


🕸Fergus Duniho wrote on Mon, May 8, 2017 07:26 PM UTC:

That test worked, but then I removed some session id name stuff from the login() function. So this is another test.


🕸Fergus Duniho wrote on Mon, May 8, 2017 07:28 PM UTC:

And that last test worked. Logging in should now be synchronized between the main domain and the play subdomain. When you sign in at one, you'll be signed into both, and when you sign out of one, you'll be signed out of both. If you notice that it doesn't work this way on any page, please let me know.


12 comments displayed

Earlier Reverse Order Later

Permalink to the exact comments currently displayed.