Anyone know why this forum platform is so sensitive to cookies?

Discussion in 'General foundry chat' started by Melterskelter, Feb 14, 2023.

  1. Melterskelter

    Melterskelter Gold Banner Member

    This forum seems unusually fussy about cookies. Much more often than any other forum I use this site just quits allowing me to log in and then I have to clear cookies etc, restart my computer or phone and resume using the forum. This is not a major issue. But it is at least moderately annoying. If there is an easy fix, sure would be nice.

    Denis
     
  2. rocco

    rocco Silver

    I can't speak for anyone else but nothing of that sort has ever happened to me here, not on any of the three devices that I routinely use to access this forum.
     
  3. Tops

    Tops Silver Banner Member

    I get the 'cookie monster' sometimes too. Seems like some pages are http:// and some are https:// and if you cross the line, it forgets your login or something.
     
  4. crazybillybob

    crazybillybob Silver Banner Member

    I'm always more receptive to an Idea if Cookies are involved. But I'm an 80's kid that might have watched too much Sesame Street, and has gotten a little thick in the middle in Middle age.
     
    Tops likes this.
  5. dtsh

    dtsh Silver

    The times I've encountered it have been due to http vs https; such as when I was using an old bookmark, link, etc for http. From the browser's perspective http://somewhere is a totally different place from https://someplace

    I'm familiar with apache and can help craft the necessary redirects to use on the server if desired so that http traffic gets rewritten as https, tends to ensure all connections are SSL and largely eliminates the cookie problems. I don't do it all the time, so will take me a few to dig through my docs, but it's not hard; it does require that someone have access to the apache configs on the server, which I would expect is already the case.
     
    Last edited: Feb 15, 2023
    Melterskelter likes this.
  6. Melterskelter

    Melterskelter Gold Banner Member

    dtsh,

    Fixing the server would be a real service as I often get an extra step or two to over ride "Not Secure Website" safegaurds as well.

    Denis
     
    Tobho Mott likes this.
  7. Zapins

    Zapins Gold

    Yeah that would be amazing. I get it frequently and have to log in manually every time I use the forum due to this issue. It is quite annoying since I check the forum several times a day
     
  8. rocco

    rocco Silver

    Like I said earlier, I haven't noticed any issues. I use Firefox on my PCs and Chrome on my Android devises, what browsers are you guys using?
     
    Last edited: Feb 20, 2023
  9. Zapins

    Zapins Gold

    Chrome app on Samsung galaxy s9 plus (android). Seems the problem can be intermittent. I went for years without issue then it would start kicking me out and rerouting. Then went away, then came back.
    Screenshot_20230220-132807_Chrome.jpg
     
  10. Tops

    Tops Silver Banner Member

    It is keeping me from logging in and looking at regular-sized pictures on older http:// threads the last day or so, Windows 10 with Edge browser.
     
  11. dtsh

    dtsh Silver

    There are many ways of doing it. I'm dumping this here in case it's useful.


    The easiest is using a .htaccess file (note the leading '.')
    Code:
    RewriteEngine On
    RewriteCond %{HTTPS} != on
    RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L]
    
    Create a file named .htaccess with the contents above and put it in the site's root directory (not in root's home, nor in the filesystem "/", but wherever the site files are)

    Unless .htaccess has been disabled, this should work just fine by default.

    If mod_rewrite isn't available, .htaccess files are disabled, or other reasons; there are other ways of doing it but that would require a bit more info.
     
    Last edited: Feb 21, 2023
    Melterskelter likes this.
  12. Melterskelter

    Melterskelter Gold Banner Member

    I just had to go through the rigamarole again. The site would not allow me to log in. So, I had to deletee cookies and temp files, restart the computer and then I could get in again. This is the only site that seems to have this issue. I am runningt Windows11 on a pc. Some members have suggested the fix could be relatively easy. Is there any interest in fixing this relatively minor but also somewhat annoyiung problem? With temp files deleted it does affect negatively browsing in other areas.

    Denis
     
    Tobho Mott likes this.

Share This Page