+ Reply to Thread
Results 1 to 11 of 11

IE keeps logged into Facebook after logging in with "keep logged in" checkbox unchecked

  1. #1
    Registered User
    Join Date
    11-28-2013
    Location
    Lima Peru
    MS-Off Ver
    Excel 2013
    Posts
    69

    IE keeps logged into Facebook after logging in with "keep logged in" checkbox unchecked

    Hello Excel experts!
    I want to ask you for your kind help. With this code i can login into facebook and after logging in i want to close the IE window, however after closing the IE window with IE.Quit something very strange happens. If i manually open IE and go again to Facebook page it shows me Facebook's login page (the page where you have to write your email and password in order to log in), which is OK because when running the VBA code i told Facebook not to Keep me logged in by unchecking the persist checkbox. However, if i run again the VBA code, when the IE window is opened by VBA it opens not in Facebook's login page but in the user wall as if the "Keep logged in" checkbox had been checked (status=true) when it was the opposite. I don't know how to programatically log into Facebook without keeping me logged in after closing the IE window with VBA. Do you have any idea how to solve this? Your help will be highly appreciated.



    Please Login or Register  to view this content.
    Last edited by EduardoHiguchi; 01-22-2016 at 01:17 PM.

  2. #2
    Valued Forum Contributor bulina2k's Avatar
    Join Date
    11-20-2012
    Location
    Urziceni, Ialomita, Romania
    MS-Off Ver
    2019 and 365
    Posts
    861

    Re: IE keeps logged into Facebook after logging in with "keep logged in" checkbox unchecke

    Maybe if you try to clear cache ?

    Please Login or Register  to view this content.
    found these codes here
    .. and don't forget to have fun!
    Bogdan.

    mark SOLVED and Add Reputation if my answer pleases you

  3. #3
    Registered User
    Join Date
    11-28-2013
    Location
    Lima Peru
    MS-Off Ver
    Excel 2013
    Posts
    69

    Re: IE keeps logged into Facebook after logging in with "keep logged in" checkbox unchecke

    Hello bulina2k, thank you very much for taking your time to read my question and giving me an answer. I have included your code in the last lines of my macro and it is not working. This is very strange because your code is erasing all cookies, temp files, history, etc. so i do not know why it is not working. You can reproduce this "strange IE behaviour" by opening IE and logging out of facebook. Then run the below shown code. It will go to facebook's login page, type your email, password and click the submit button with the "Keep logged in" checkbox unchecked. Then the browser will go to your facebook wall and then close all IE windows with the https://www.facebook.com/ web address. After closing all these IE windows the VBA macro will clear all cookies, temp files, history, etc.
    Then the strange part is this: If you manually open IE and go to https://www.facebook.com the browser will go to facebook's login page which is the expected result, however if you run the macro again, the IE browser redirects to your facebook wall, eventough when you logged in previously you logged with the "Keep logged in" checkbox unchecked and even deleted all saved data with your code. This is the code i tested which includes your suggestion:
    Please Login or Register  to view this content.
    Last edited by EduardoHiguchi; 01-22-2016 at 01:17 PM.

  4. #4
    Valued Forum Contributor bulina2k's Avatar
    Join Date
    11-20-2012
    Location
    Urziceni, Ialomita, Romania
    MS-Off Ver
    2019 and 365
    Posts
    861

    Re: IE keeps logged into Facebook after logging in with "keep logged in" checkbox unchecke

    I don't have a facebook account...
    But I guess I could create a dummy account and try to reproduce your case.

  5. #5
    Registered User
    Join Date
    11-28-2013
    Location
    Lima Peru
    MS-Off Ver
    Excel 2013
    Posts
    69

    Re: IE keeps logged into Facebook after logging in with "keep logged in" checkbox unchecke

    Hello bulina2k, i have even tested automatically deleting and history data cookies every time the Internet Explorer is shut down by configuring IE (by enabling hte "Delete browser history on exit") but this is not working either.

  6. #6
    Valued Forum Contributor bulina2k's Avatar
    Join Date
    11-20-2012
    Location
    Urziceni, Ialomita, Romania
    MS-Off Ver
    2019 and 365
    Posts
    861

    Re: IE keeps logged into Facebook after logging in with "keep logged in" checkbox unchecke

    Shooting blanks here but did you tried to uncheck the 'Allow websites caches and databases' also? and choose the 'Everytime I visit the webpage' option on 'Check for newer vesion of stored webpages' ?
    There are some autocomplete settings where you could uncheck...
    Last edited by bulina2k; 01-22-2016 at 01:24 PM.

  7. #7
    Valued Forum Contributor bulina2k's Avatar
    Join Date
    11-20-2012
    Location
    Urziceni, Ialomita, Romania
    MS-Off Ver
    2019 and 365
    Posts
    861

    Re: IE keeps logged into Facebook after logging in with "keep logged in" checkbox unchecke

    Quote Originally Posted by Lalo1977 View Post
    [...]You can reproduce this "strange IE behaviour" by opening IE and logging out of facebook. Then run the below shown code. It will go to facebook's login page, type your email, password and click the submit button with the "Keep logged in" checkbox unchecked. Then the browser will go to your facebook wall and then close all IE windows with the https://www.facebook.com/ web address. After closing all these IE windows the VBA macro will clear all cookies, temp files, history, etc.
    Then the strange part is this: If you manually open IE and go to https://www.facebook.com the browser will go to facebook's login page which is the expected result, however if you run the macro again, the IE browser redirects to your facebook wall, eventough when you logged in previously you logged with the "Keep logged in" checkbox unchecked and even deleted all saved data with your code[...]
    [/CODE]
    Quote Originally Posted by bulina2k View Post
    I don't have a facebook account...
    But I guess I could create a dummy account and try to reproduce your case.
    I'm sorry but I can't confirm...
    Running the code again took me to the fb login page and not to the wall...

  8. #8
    Registered User
    Join Date
    11-28-2013
    Location
    Lima Peru
    MS-Off Ver
    Excel 2013
    Posts
    69

    Re: IE keeps logged into Facebook after logging in with "keep logged in" checkbox unchecke

    I have just tested your suggestion. I have unchecked the "Allow websites caches and databases" checkbox and also checked the "Everytime I visit the webpage" option in the Temporary Internet Files tab. Incredibly it is still not working.

  9. #9
    Valued Forum Contributor bulina2k's Avatar
    Join Date
    11-20-2012
    Location
    Urziceni, Ialomita, Romania
    MS-Off Ver
    2019 and 365
    Posts
    861

    Re: IE keeps logged into Facebook after logging in with "keep logged in" checkbox unchecke

    does your IE has any addons installed?
    when you open the fb page, the login form is already completed?
    have you manually erased autocomplete forms in IE?
    ... I don't know what else to think of...

  10. #10
    Registered User
    Join Date
    11-28-2013
    Location
    Lima Peru
    MS-Off Ver
    Excel 2013
    Posts
    69

    Re: IE keeps logged into Facebook after logging in with "keep logged in" checkbox unchecke

    Hello bulina2k, after reading your post where you said that you could not reproduce the case i thought, lets try turning off my computer and turning it on again, and then test the code again... and you know what, it worked!
    This is very strange but i have even checked again the "Allow websites caches and databases" checkbox and also disabled the "Delete browser history on exit" and it is still working. I don't know what happened to my computer but if i am not wrong i had not turned it off for more than 3 days straight. Thank you very much for all your help and i will mark the thread as solved and also add possitive reputation to your profile. Thank you very much. Have a nice weekend!

  11. #11
    Valued Forum Contributor bulina2k's Avatar
    Join Date
    11-20-2012
    Location
    Urziceni, Ialomita, Romania
    MS-Off Ver
    2019 and 365
    Posts
    861

    Re: IE keeps logged into Facebook after logging in with "keep logged in" checkbox unchecke

    Thank you for the rep. I'm glad that it did worked out eventually.
    Have fun!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 3
    Last Post: 04-16-2014, 10:00 AM
  2. Need help with a calculating "logged in" hours
    By tommytdl in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-13-2013, 01:52 PM
  3. [SOLVED] Find "LOGGED IN" person and record their "LOG OUT" time next to them
    By TruBeast in forum Excel Programming / VBA / Macros
    Replies: 25
    Last Post: 03-07-2013, 05:46 PM
  4. "Decompress" logged data
    By dirtyharry76 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-02-2011, 10:17 AM
  5. Remove "TRUE" "FALSE" words from a linked checkbox
    By MDCK in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-15-2008, 03:26 AM
  6. Running Scheduled Tasks Macros While Cpu Is "logged Off" From Network
    By Chuckles123 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-12-2006, 03:31 PM
  7. Would like to change all "yes" cells in a worksheet with "logged"
    By Kezza in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-10-2006, 09:20 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1