SSMB: Time and Cookie failures - SSMB

Jump to content


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Time and Cookie failures TIME FOR TIME FORCE

User is offline   Aquaslash Icon

#1 Posted 13 January 2010 - 12:33 AM

  • Just might make a Super Scourge out of this...
  • Icon
  • Group: TSS Member
  • Posts: 947
  • Joined: 06-March 09
  • Gender:Male
  • Location:Hampton, VA
  • Country:United States
Basically, what'll happen is I come to the forum index, and not only am I logged out, but the time setting is wayy off. Like right now I think it'll read 12:14 AM when it's 7:32 PM. Often times, the time changes when I refresh, but it's never right.

However, this all vanishes when I actually go into a topic. I'm logged in, and the time's right and everything?


Known bug?

0

User is online   bmn Icon

#2 Posted 13 January 2010 - 01:01 AM

  • JOO TAKE MAH EMMERROWDS?!
  • Icon
  • Group: Root Admin
  • Posts: 754
  • Joined: 04-March 09
  • Gender:Male
  • Location:127.0.0.1
  • Country:England
When you first visit the forum, is the address just sonicstadium.org..., not www.sonicstadium.org...? I think the cookies are locked to the www, and so when you visit the index they don't get sent to the server - this also causes the time discrepancy which is just a case of it using the default timezone (Europe/London) since you're supposedly not logged in. All the links on the forum though go to the www version, which is why the problem seems to disappear when you click on a link.

That is an issue on our end though, so I'll try to sort that out.

Edit: I've addressed the issue by forcing all sonicstadium.org addresses to redirect to the appropriate www.sonicstadium.org address. Can you test it on your end?

Edit 2: Reverted the change; it caused some other problems. I'll fix this sometime.
0

User is offline   Aquaslash Icon

#3 Posted 13 January 2010 - 02:36 AM

  • Just might make a Super Scourge out of this...
  • Icon
  • Group: TSS Member
  • Posts: 947
  • Joined: 06-March 09
  • Gender:Male
  • Location:Hampton, VA
  • Country:United States

View Postbmn, on 12 January 2010 - 08:01 PM, said:

When you first visit the forum, is the address just sonicstadium.org..., not www.sonicstadium.org...?


Yes, that's precisely it. I come to the forums via a bookmark and that's the address there.

Glad you're able to figure it out so quickly.
0

User is offline   Blue Blood Icon

#4 Posted 13 January 2010 - 07:23 PM

  • Now that's one cute little freak.
  • Icon
  • Group: TSS Member
  • Posts: 2973
  • Joined: 05-March 09
  • Gender:Male
  • Location:Chavland (Peterborough), England
  • Country:United Kingdom
Would this be related to "get new post" and "get last post" not working correctly? I assumed it was just a problem on my machine until I realised "get last post" wasn't working.
0

#5 Posted 29 January 2010 - 08:12 AM

  • Capitalism hasn't failed; it is merely no longer practiced.
  • Icon
  • Group: TSS Member
  • Posts: 758
  • Joined: 05-March 09
  • Gender:Male
  • Location:Wisconsin (U.S.A.)
Wouldn't setting the cookie domain to .sonicstadium.org fix such problems? Or does it cause other problems? By setting it to .sonicstadium.org, the cookie domain should accept sonicstadium.org and all subdomains, which would include www.sonicstadium.org, am I correct?

Again, though, I'm not sure if there's other problems that happen when this is done.
0

User is online   bmn Icon

#6 Posted 13 February 2010 - 07:28 AM

  • JOO TAKE MAH EMMERROWDS?!
  • Icon
  • Group: Root Admin
  • Posts: 754
  • Joined: 04-March 09
  • Gender:Male
  • Location:127.0.0.1
  • Country:England
Yo yo yo.

@UH: Yes, using a global domain setting for cookies makes them accessible all over the network. However, that's not good practice as it increases the number of cookies the browser has to send, and the server has to process, for each request on all the sites at sonicstadium.org. That and it can potentially be a security risk. One of the things I'm working on right now is isolating the various sites better so that they're better at this sort of thing. You may notice some of this work in the future if it comes off, though you may not ;p

Anyway, I've resolved the issue fully I believe. To make sure, I'd clear all your cookies (or at least the ones involving sonicstadium.org) so they're all on the correct domain.
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Similar Topics
Topic Started By Stats Last Post Info

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users