• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

You are not logged in or you do not have permission to access this page. This could be due to one of several reasons:

  • You are not logged in. If you are already registered, fill in the form below to log in, or follow the "Sign Up" link to register a new account.
  • You may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
  • If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.

Previously on "Why does CUK log you out when you lose your connection?"

Collapse

  • NickFitz
    replied
    FWIW, there are (sort-of) two kinds of cookies (cookies being what vBulletin uses to keep you logged in). There are session cookies, which have an expiration date in the past and are only held in memory (that is, although they might be written to disk in a swapfile if you aren't in "PornMode", they aren't stored in the place the browser keeps cookies) and are used when you login without "Remember me"; and persistent cookies, used when you do use "Remember me", which are written to disk in the place the browser keeps cookies (rather than just incidentally in a swapfile) and are removed when their expiry date comes around some time in the future. (The expiration date is normally reset to "a year from now" or some such value each time they are received by the server as evidence that you wanted to stay logged in.)

    Given the number of people who post/register here in a trollish manner, and further given that we know that admin keeps track of IP addresses that are used for improper purposes, it is possible that CUK's tracking of login cookies even with the "Remember me" option (which should persist in the same browser after an IP address change on the same computer) has been modified to detect IP address changes, probably in the attempt to keep some trollfest under control. This would lead to the symptoms described. For example, RC's enforced logouts when the IP address is changing regularly is obviously explained; whereas EO's experience of the same thing could happen because his ISP uses DHCP (~99.999% likelihood) and it happens to have given him a new address on the latest renewal.

    The latter does happen: I have some virtual servers on Amazon EC2 which only allow logins over services other than SSH from specified IP addresses. Every few months, Virgin - which usually gives me the same IP address even if I've been away for a week - will switch to another one, and I have to go in over SSH to remove the old address and authorise the new one

    If CUK's login cookies have somehow been tied to IP addresses even when non-session (i.e. persistent), it would explain both RC's repeating problem and EO's first encounter therewith, in that EO's ISP has given him a different IP on the most recent occasion that his CUK-facing-system(s) - probably his broadband modem - sought to renew/establish a DHCP lease.

    But of course, this is just a theory

    Leave a comment:


  • Gonzo
    replied
    Originally posted by RichardCranium View Post
    Aha!

    When using the T-Mobile dongle in the car, it loses & re-establishes it connection fairly often. And each time gives me a different IP address.

    So maybe that's it.

    Now why don't the other sites I am logged into get upset at this?
    Short outages are a regular feature of the service provided by the ISP I am using out here and I find that I get logged out after every interuption, I don't use the "remember me" option though. I suspect that I get a new IP address each time that happens but have not investigated thoroughly.

    I am on another forum that uses vBulletin 3.7.3 where I do use the "remember me" option and I am always logged on when I look at that one.

    Leave a comment:


  • EternalOptimist
    replied
    blooming heck. happened to me today for the first time

    a puzzle

    Leave a comment:


  • RichardCranium
    replied
    Originally posted by Sysman View Post
    Does your IP address change frequently? Does it ever change in mid session?
    Aha!

    When using the T-Mobile dongle in the car, it loses & re-establishes it connection fairly often. And each time gives me a different IP address.

    So maybe that's it.

    Now why don't the other sites I am logged into get upset at this?

    Leave a comment:


  • RichardCranium
    replied
    Originally posted by Platypus View Post
    RC - did you solve this?
    Not yet. I haven't been in a place with a sufficiently dodgy connection.

    Leave a comment:


  • Sysman
    replied
    Originally posted by RichardCranium View Post
    Ooh! Good theory.

    I shall investigate that possibility.
    Another thing to look at is cookies. I think that is how the login "Remember me" and sessions are tracked. The layout of cookies is clearly documented, um, somewhere out there.

    Leave a comment:


  • Platypus
    replied
    Having said the other day that this "never happens to me"....

    Well - it does now.

    Only noticed this morning but I keep being logged out of CUK mid-session, almost as if there's an inactivity timer in operation!

    RC - did you solve this?

    I don't think it's my IP address changing because I have a VPN connection on another laptop connected all day to clientco and that doesn't drop.

    Leave a comment:


  • RichardCranium
    replied
    Originally posted by Sysman View Post
    Does your IP address change frequently? Does it ever change in mid session?
    Ooh! Good theory.

    I shall investigate that possibility.

    Leave a comment:


  • Sysman
    replied
    Using Safari (on Mac) I get logged in automatically for months on end with any of the vBulletin sites I visit.

    Does your IP address change frequently? Does it ever change in mid session?

    Leave a comment:


  • NickFitz
    replied
    FWIW, I don't see this behaviour in Safari.

    Leave a comment:


  • RichardCranium
    replied
    Originally posted by NotAllThere View Post
    I'd guess you've probably set things up so that the cookies are deleted when you quit the browser, or your security settings don't allow cookies.
    I am not quitting the browser (and cookies are retained anyway).

    Leave a comment:


  • NotAllThere
    replied
    I use firefox and ie and never have to log in. I'd guess you've probably set things up so that the cookies are deleted when you quit the browser, or your security settings don't allow cookies.

    Leave a comment:


  • Clippy
    replied
    Originally posted by Clippy View Post
    When you log in, do you tick the 'Remember Me' tickbox?
    Originally posted by RichardCranium View Post
    I don't, but then I do not select the equivalent functionality on other sites. And "Remember me" logs you in - I want to know why I get logged out in the first place.
    TBH, I don't know why it happens but I also get the same as you at other sites where it keeps me logged in even though I haven't ticked this box.

    Leave a comment:


  • AtW
    replied
    Originally posted by RichardCranium View Post
    I don't, but then I do not select the equivalent functionality on other sites. And "Remember me" logs you in - I want to know why I get logged out in the first place.
    This must be making life hard to for sockpuppetters amongst us

    Leave a comment:


  • RichardCranium
    replied
    Originally posted by Clippy View Post
    When you log in, do you tick the 'Remember Me' tickbox? If not, that is probably why.
    I don't, but then I do not select the equivalent functionality on other sites. And "Remember me" logs you in - I want to know why I get logged out in the first place.

    Originally posted by Fred Bloggs View Post
    FF v3.6 keeps me logged in, no issues at all.
    I am running FF v3.5.8 and Chrome and get the same behaviour in both.

    Leave a comment:

Working...
X