1. mikenyc2's Avatar
    Since I jailbroke my iPhone, Safari is having touble remembering my ID's & Passwords to things like Google Reader. Before jailbreak, I could close down Safari, then go back later and Safari would remember who I was in Googlee Reader and i can continue one with my news.

    Now I get prompted to log on again. Even when I just go to another Web Page (on a NEW PAGE), when I go back to Google reader, Safari refreshs the screen and prompts me to log on again.

    This is VERY annoying and on some Apps like Jajah, I can't get to the next screen cause Safari keeps prompting me to log on again and again.

    Before you ask. I have "Accept Cookies" set to "From Visited" (I have tried "Always" also, didn't help)

    HELP!

    Thanks
    mike
    03-10-2009 03:14 PM
  2. jamesus's Avatar
    I have had this problem as well. The only way I have been able to fix this is to restore it.
    03-10-2009 03:19 PM
  3. mikenyc2's Avatar
    Thanks for the reply but that isn't a solution I am looking for.

    Has ANYONE had this issue and FIXED it without a restore?

    Thanks all.
    03-10-2009 04:25 PM
  4. mikenyc2's Avatar
    Can anyone help with this issue?

    Thanks.
    03-16-2009 12:10 PM
  5. Jeremy's Avatar
    There used to be something you could install via installer back in the day (don't remember what it was called), this is a common issue and if that add-on is not available any longer, restore is your only option.
    03-16-2009 12:19 PM
  6. jamesus's Avatar
    I've tried anything (save for finding the Installer app) and the only solution is to restore. I know it isn't ideal, but now I check everything I upgrade to see if this issue is present. If it is, I restore immediately so I don't load everything on first.
    03-17-2009 05:33 PM
  7. mikenyc2's Avatar
    Bad Ash,
    Thanks for your help. The Installer App was called "iRemember". Remember? haha

    Well first of all, it is not around anymore plus was for OS 1.14. But it did lead me onto some other interesting comments. Like a solution that can be done manually. I found the text below on some website (hope it is not an OS 1.14 only solution). It refers to using Terminal to get to set permissions. Can this be done on an iPhone? I have MTelnet on my iPhone but don't know how I would connect in. Any advice?

    --------------- Solution -------------------------------
    Another option to solve this problem is to edit the permissions of the Cookies.plist file. For some reason, the ownership of the file is 'root' when it should also be 'mobile'. I entered these commands into Terminal and it solved the problem.

    chmod 777 /var/mobile/Library/Cookies
    chmod 666 /var/mobile/Library/Cookies/Cookies.plist
    03-18-2009 11:51 AM
  8. jamesus's Avatar
    This would work if you SSH into the phone. Please let us know if this works for you, as I have had this same problem multiple times.
    03-18-2009 06:49 PM
  9. Muero's Avatar
    In Cydia, there's a package called "Fix Safari Cookies." Its description says, "Tired of having to enter your user name and password every time you visit your favorite site? Not any more! This package overwrites your cookies and changes the permissions so that Safari can actually write and save your cookies. If you don't have to enter your user name and password for all sites, then you do not need to install this package. NOTE: Even though it says that it's Half-Installed or Half-Completed, it still works! Don't force clear, just ignore!"

    I can't say whether it works, because I don't have it installed, since I haven't had the problem you're describing.

    It's from "PwnCenter Repository" and I'm not sure if that one is installed by default or if I added it later.
    Last edited by Muero; 03-18-2009 at 07:47 PM. Reason: typo
    03-18-2009 07:39 PM
  10. mikenyc2's Avatar
    It worked. Here are the steps I took (not for the faint of hearted):

    1) Go and download MobileTerminal from Cydia - This will allow you to do the next steps on tour iPhone
    2) Go into MobileTerminal and type the following command (Case sensative):
    chmod 777 /var/mobile/Library/Cookies
    3) Do these next commands:
    cd /var/mobile/Library/Cookies
    mv Cookies.plist Cookies.plist.old
    ls > Cookies.plist
    chmod 666 Cookies.plist

    The reason for so many commands is that I could not change permissions on the old Cookies.plist. Instead of deleting it, I renamed it (so we can rename back if needed). The command:
    ls > Cookies.plist
    just sets up a "dummy" Cookies.plist where ownership is mobile. Then I can change permission thusly:
    chmod 666 Cookies.plist

    At this point, you should be able to go into Safari and save your ID/Pass.

    If all works well, you can go back into MobileTerminal and clean up the .old file with this command:

    rm /var/mobile/Library/Cookies/Cookies.plist.old


    This works!!

    Thanks for everyone's help.
    03-19-2009 10:29 AM
  11. Phreakwenci's Avatar
    That worked GREAT!!! THANKS! I've been dying to get my iphone to remember cookies!! Thanks!
    04-28-2009 11:42 PM
  12. Phreakwenci's Avatar
    It worked. Here are the steps I took (not for the faint of hearted):

    1) Go and download MobileTerminal from Cydia - This will allow you to do the next steps on tour iPhone
    2) Go into MobileTerminal and type the following command (Case sensative):
    chmod 777 /var/mobile/Library/Cookies
    3) Do these next commands:
    cd /var/mobile/Library/Cookies
    mv Cookies.plist Cookies.plist.old
    ls > Cookies.plist
    chmod 666 Cookies.plist

    The reason for so many commands is that I could not change permissions on the old Cookies.plist. Instead of deleting it, I renamed it (so we can rename back if needed). The command:
    ls > Cookies.plist
    just sets up a "dummy" Cookies.plist where ownership is mobile. Then I can change permission thusly:
    chmod 666 Cookies.plist

    At this point, you should be able to go into Safari and save your ID/Pass.

    If all works well, you can go back into MobileTerminal and clean up the .old file with this command:

    rm /var/mobile/Library/Cookies/Cookies.plist.old


    This works!!

    Thanks for everyone's help.
    Wish there was an app on cydia that did this automatically!

    J.D.
    04-28-2009 11:43 PM
LINK TO POST COPIED TO CLIPBOARD