Thread: WTF!!!!!????

  1. #1
    Registered User
    Join Date
    May 2011
    Location
    Around 8.3 light-minutes from the Sun
    Posts
    1,949

    WTF!!!!!????

    I have now tried to submit a post 3 times into a forum (not this one) and everytime it gave me the "you are not logged in error" message. Of course after I re-login my original post is gone and I am suppose to type it again. WHAT IS HAPPENING!?!
    Quote Originally Posted by anduril462 View Post
    Now, please, for the love of all things good and holy, think about what you're doing! Don't just run around willy-nilly, coding like a drunk two-year-old....
    Quote Originally Posted by quzah View Post
    ..... Just don't be surprised when I say you aren't using standard C anymore, and as such,are off in your own little universe that I will completely disregard.
    Warning: Some or all of my posted code may be non-standard and as such should not be used and in no case looked at.

  2. #2
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,793
    It's a new feature?

  3. #3
    [](){}(); manasij7479's Avatar
    Join Date
    Feb 2011
    Location
    *nullptr
    Posts
    2,657
    Have a 'cookie' , maybe?

  4. #4
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    The site tends to do this to me as well. I do not have cookies enabled for the site but it can and does log me out if I stay on a page too long. I have been logged out while typing replies to posts, etc. If you set your browser to allow cookies from this site it will not happen. I do find it odd that it logs me out even though I have not navigated away from the site.

  5. #5
    Registered User
    Join Date
    Jun 2005
    Posts
    6,815
    Quote Originally Posted by VirtualAce View Post
    The site tends to do this to me as well. I do not have cookies enabled for the site but it can and does log me out if I stay on a page too long. I have been logged out while typing replies to posts, etc. If you set your browser to allow cookies from this site it will not happen. I do find it odd that it logs me out even though I have not navigated away from the site.
    Not odd at all. It would be the server that terminates the session after a timeout period based on inactivity. If you have cookies enabled (and relevant cookies haven't expired) your browser would send enough validated information so the server can establish a new session if needed (bearing in mind that cookies originate on the server, so the server will have information so it can recognise your cookies when the browser sends them back). Without cookies, it would be necessary to challenge you for credentials again.
    Right 98% of the time, and don't care about the other 3%.

    If I seem grumpy or unhelpful in reply to you, or tell you you need to demonstrate more effort before you can expect help, it is likely you deserve it. Suck it up, Buttercup, and read this, this, and this before posting again.

  6. #6
    Registered User
    Join Date
    Apr 2011
    Posts
    2
    >> Without cookies, it would be necessary to challenge you for credentials again.

    AFAIK without cookies you would need to send your session ID as part of the URL of every request you send. If the server redirects you to a page that does not contain your session ID as a URL parameter or you click on links that don't contain your session ID in the URL then it will effectively log you out.

  7. #7
    Registered User
    Join Date
    Jun 2005
    Posts
    6,815
    Quote Originally Posted by whompkin View Post
    AFAIK without cookies you would need to send your session ID as part of the URL of every request you send.
    Possibly. That does depend on how the server, and software running on the server, is configured. Sending a session ID can also fail if the server has dropped that session (eg due to timeouts).
    Right 98% of the time, and don't care about the other 3%.

    If I seem grumpy or unhelpful in reply to you, or tell you you need to demonstrate more effort before you can expect help, it is likely you deserve it. Suck it up, Buttercup, and read this, this, and this before posting again.

  8. #8
    Master Apprentice phantomotap's Avatar
    Join Date
    Jan 2008
    Posts
    5,108
    I do not have cookies enabled for the site but it can and does log me out if I stay on a page too long.
    I can't speak for the problem in the original post. I guess maybe he just types slow.

    *shrug*

    Anyway, you'll see that with or without cookies after a time if you don't have "Remember Me" enabled. (You may see it even with "Remember Me" if you move between computers.) It is a feature. (Really!)

    It is "Automatic Session Timeout" or whatever "vBulletin" chooses to call it.

    The idea is to prevent careless users from leaving an unattended PC open to exploit from when they were accessing the site.

    Soma

  9. #9
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446
    Quote Originally Posted by phantomotap View Post
    The idea is to prevent careless users from leaving an unattended PC open to exploit from when they were accessing the site.
    Ah yes. The "Default to Stupid" of modern applications feature set.
    Counterintuitive application behavior is becoming easier to understand though. One just needs to pretend they are stupid and it will all work out.
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  10. #10
    Master Apprentice phantomotap's Avatar
    Join Date
    Jan 2008
    Posts
    5,108
    O_o

    A million years ago--or about a decade--this was a support ticket for a plugin for which I was responsible:

    Ticket: "I can't load PNG files.".
    Response: "Have you verified that you have the correct file?"
    Ticket: "Yes."
    Response: "The plugin doesn't handle some PNG files because of optional or proprietary chunks. Where did you get the PNG file?"
    Ticket: "I took a picture with my camera and converted the JPEG with the command line tool."
    Response: "Strange. The CLI tools I'm aware of usually produce a very clean and consistent PNG files. Send me a link to the tool and the command you used. You may have used unusual options, but it may very well be a bug on one side or the other."
    Ticket: "It comes with Windows. The command I used was: rename file.jpeg file.png".

    Users are generally stupid.

    It isn't really a bad assumption.

    [Edit]
    For those who are wondering:

    Response: Windows doesn't come with that tool. You must have a virus.
    Manage: We will not be requiring your services anymore.
    Response: Yay!
    [/Edit]

    [Edit]
    Yes. This really is true. Oh, sure, I exaggerated on the "Yay!" bit and changed the words, but I was exposed to a customer who thought changing the extension was the same as changing a file's format. I'm not the only one. This sort of thing is fairly common. People have gotten more tech savvy, but idiots still out number us all.
    [/Edit]

    Soma

  11. #11
    Registered User
    Join Date
    Sep 2008
    Location
    Toronto, Canada
    Posts
    1,834
    Timout is a notorious low value. I make sure I don't lose my response post by copying-and-pasting to NOTEPAD or Outlook email so that if I have to navigate elsewhere to a login screen I don't lose the text.

    For example:
    By the time I start Visual Studio, copy-and-paste a user's source code first into Microsoft Office Word, and then from there into Visual Studio (to strip crap and make it handle new-lines properly), compile it, check errors and correct things, then diagnose the real problem and make ready for a solution, compose my response, check for spelling errors, the forum has timed out.

  12. #12
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,057
    For a while the board was doing this to me quite frequently. I often copy a post to the clipboard before hitting "post"... if I have klipper running it will remember my clipboard even if I overwrite it with something else by accident. It's a useful insurance, especially for long posts (where the board has a good chance of logging me out). It's worth noting that you should never, ever refresh the page (you'll lose it for sure). Copy-paste the text, or log in in a different tab.

    This is all in the context of not checking the "Remember me" box, which I don't like to do for some reason... I guess that might make life easier....
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

Popular pages Recent additions subscribe to a feed