Null User Object

  • 29 Posts
  • 63 Comments
Joined 1 year ago
cake
Cake day: July 23rd, 2023

help-circle



  • True story, about 20-25 years ago, a radio station in my home town was playing ads for some new local business doing web design.

    After hearing the ad on my drive to work for the umpteen billionth time I finally got curious and went to check out their own website (I they’re charging people to build websites, they’re own website must be a pretty awesome demonstration of their skills, right?)

    The website looked like absolute garbage and, upon viewing the source, the meta tags clearly betrayed the fact that it was created in Word.

    I can only imagine how much money they were paying to run those ads. I even considered the possibility I was being pranked somehow.


  • I seem to have isolated the problem to using a link to the website on the phone’s home screen (created from FF using the “Add to Home screen” option in the three dots menu next to the address bar.

    Starting that way seems to give any session cookies a very short life and they disappear quickly (logging me out). I created a bookmark within FF and have been using that and haven’t been logged out since.

    In fact, if I use the home screen link to programming.dev, FF doesn’t think I’m logged in, but then if I use the bookmark from within that same instance of FF, it instantly sees me as already logged in.

    Very strange.



  • I think I figured out how to reproduce it really quick.

    1. Log in to Lemmy on Firefox
    2. Switch to a different app
    3. Switch back to Firefox
    4. Reload the page.

    Poof! I’m out. I repeated the test multiple times to confirm it’s consistent. Probably actually getting kicked out on step 2. It’s like FF decides to expire the Lemmy cookies when the app loses focus.

    Armed with that info, I retested two alternate front ends on programming.dev (a. & t.) and default front end on lemmy.world and default front end on programming.drv with Brave. I was previously getting logged out on lemmy.world, but not now (maybe they updated something? Or my test is still flawed.). So, with these steps I can only reproduce it on programming.dev with the default front end on Firefox.





  • Ok, so pretty certain this is specific to my phone.

    Browsed the recommended alternate front end for as long as I could stand it. Didn’t get logged out, but I may have just not waited long enough.

    Back on normal frontend, I deleted all browsing data (cookies, etc), logged back in and then got kicked out within a few minutes.

    Rebooting the phone now. 🤞

    Update: Nope, still getting booted within a few minutes. Beyond just using a different browser, I’m out of ideas, so I’ll try that for a bit. 🤷

    Update 2: Doesn’t seem to be happening in Brave. So currently, only in FF, only on my phone, clearing cookies and rebooting did not help.

    I’m open to any more ideas.