Author Topic: Cookie Pickup Bug?  (Read 1074 times)

0 Members and 1 Guest are viewing this topic.

Offline Runer112

  • Moderator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Cookie Pickup Bug?
« on: January 12, 2014, 10:55:58 am »
For me, the most useful page on Omnimaga is Latest Activity, so when I got my new computer, I made sure that's always the page I start at when navigating to Omnimaga. But when I started doing this, I noticed that navigating straight to that URL and not getting there by clicking the "NEW POSTS" link on another page results in my account not being logged in. This results in annoyances like the post times not being adjusted to my locale, so I have to then click the "NEW POSTS" link to reload the page and pick up my account.

Browser version: Chrome 32.0.1700.72 m. I don't notice this issue when directly navigating to any other pages on Omnimaga. This issue also doesn't seem to occur at all in my quick test with Internet Explorer 11.0.9600.16476. So the fact that it only occurs on one page suggests to me that it's a site bug, but the fact that it doesn't occur in another browser counters with the suggestion that it's a browser bug.
« Last Edit: January 12, 2014, 10:56:58 am by Runer112 »

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7917
  • Rating: +373/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: Cookie Pickup Bug?
« Reply #1 on: January 12, 2014, 12:01:34 pm »
That is pretty weird, i do that all the time and it is working just fine for me.

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline DJ Omnimaga

  • Now active at https://codewalr.us
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55821
  • Rating: +3151/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
Re: Cookie Pickup Bug?
« Reply #2 on: January 12, 2014, 01:15:53 pm »
That is pretty strange. That said, I am using Opera 12.16 so maybe it's a new issue with different browsers. I have this happen on Youtube a lot lately, though.

Back in 2010-11, some DNS misconfiguration caused omnimaga.org and www.omnimaga.org to have different sessions, so you would get logged out when accessing the non-www one. Not sure if DNS issues might be related?
In case you are wondering where I went, I left Omni back in 2015 to form CodeWalrus due to various reasons explained back then, but I stopped calc dev in 2016 and am now mostly active on the CW Discord server at https://discord.gg/cuZcfcF


Bandcamp|Reverbnation|Facebook|Youtube|Twitter

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7917
  • Rating: +373/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: Cookie Pickup Bug?
« Reply #3 on: January 12, 2014, 01:22:27 pm »
The omnimaga.org / www.omnimaga.org having different sessions still exists for me...
EDIT: actually, nvm, without www is a redirect to www now
« Last Edit: January 12, 2014, 01:22:58 pm by Sorunome »

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline Runer112

  • Moderator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Cookie Pickup Bug?
« Reply #4 on: January 12, 2014, 03:16:35 pm »
www versus no www is definitely the issue. Is this something that can be fixed site-side? Or some easy way I can fix it on my side (other than simply using the different URL, of course)?

Offline DJ Omnimaga

  • Now active at https://codewalr.us
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55821
  • Rating: +3151/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
Re: Cookie Pickup Bug?
« Reply #5 on: January 12, 2014, 03:18:04 pm »
On your side, make sure to never forget to use the www and to not click any link that lacks the www. On Omni's side, they would need to fix the sub-domain names.
In case you are wondering where I went, I left Omni back in 2015 to form CodeWalrus due to various reasons explained back then, but I stopped calc dev in 2016 and am now mostly active on the CW Discord server at https://discord.gg/cuZcfcF


Bandcamp|Reverbnation|Facebook|Youtube|Twitter

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: Cookie Pickup Bug?
« Reply #6 on: January 12, 2014, 04:24:27 pm »
That can easily be fixed. Either stop using www or make a redirction on the non-www domain to the www subdomain.

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline Lunar Fire

  • LV3 Member (Next: 100)
  • ***
  • Posts: 66
  • Rating: +7/-1
  • I'll be watching you from the shadows
    • View Profile
    • My Tumblr
Re: Cookie Pickup Bug?
« Reply #7 on: January 12, 2014, 05:00:08 pm »
I think it depends on the type of redirection you do with the www and non-www subdomain. If you make both of them point to the same IP and nameservers your browser will not see the difference between www and non-www, just like I did on my domain. For example, you can access the BrainPuff interpreter by entering either http://www.lunarfire.info/brainpuff/ or http://lunarfire.info/brainpuff/. Both lead to the exact same page, but your browser will think those two adresses as being different. After all, I could make www.lunarfire.info point to www.omnimaga.org and lunarfire.info point to my webhost, and there would be no problem at all.

What you would need to do on Omnimaga is a either an HTTP or HTML redirection. The first works by adding a redirection header to replies on requests sent to the non-www domain, and the second would be to add a meta redirection tag in the code of the non-www subdomain. I personally recommend HTTP redirections, as the redirection will be un-noticeable to visitors (versus the HTML redirection where you would see it a second or two).
Your drill is the drill that will pierce the heavens!

Offline DJ Omnimaga

  • Now active at https://codewalr.us
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55821
  • Rating: +3151/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
Re: Cookie Pickup Bug?
« Reply #8 on: January 12, 2014, 06:08:33 pm »
If we stopped using www, would this hurt or Google ranking, though? (since many sites link to Omni using the www)
In case you are wondering where I went, I left Omni back in 2015 to form CodeWalrus due to various reasons explained back then, but I stopped calc dev in 2016 and am now mostly active on the CW Discord server at https://discord.gg/cuZcfcF


Bandcamp|Reverbnation|Facebook|Youtube|Twitter