[PHP] Enable Do not store passwords questions

Discussion in 'Web Design & Coding' started by Heeter, Jul 18, 2006.

  1. Heeter

    Heeter Overclocked Like A Mother

    Messages:
    2,732
    Hey all,

    Sorry haven't been around much, work is very busy lately.

    I know that this might be a longshot, but I'll ask anyway.


    Anyways, I have this little freeware proggie that enables me to access my files through a web browser. It is a webpage UI that I enter a username/password. The only I don't like what it does is store the user/pass in the machine that I am using.

    Is there some line of code that I can use to disable this cookie feature, kinda of like my ebank web site?

    Thanks in advance,


    Heeter
     
  2. kcnychief

    kcnychief █▄█ ▀█▄ █ Political User Folding Team

    Messages:
    16,948
    Location:
    Massachusetts
    Wouldn't it be an application specific question to this little freeware proggie you are using? Unless I am understanding it wrong - what is it called?
     
  3. Heeter

    Heeter Overclocked Like A Mother

    Messages:
    2,732
    I did forget to mention that I have posted on the author's support forums twice since the beginning of the year about this, but I have not had any responses both times. So I thought that I might try here.

    I don't know if it is specific to this proggie, or it's general php coding.

    The proggie is called PHPFileNavigator It is freeware.

    http://pfn.sourceforge.net/index.php?opc=1&lg=ing


    Heeter
     
  4. kcnychief

    kcnychief █▄█ ▀█▄ █ Political User Folding Team

    Messages:
    16,948
    Location:
    Massachusetts
    I am roughly 99.9% sure it is related to the app itself - if you are looking for a similar function why not build an FTP server? There are freeware apps out there for that as well.
     
  5. albybum

    albybum Penguin Rancher

    Messages:
    280
    Location:
    Elizabethton, TN
    The source code for the program is coded in Spanish, so my readability is restricted, but I couldn't find any mention or use of cookies in the script.

    The script reads

    _GET
    _POST
    _SESSION
    _FILES
    _SERVER
    _ENV

    I didn't find any mention of _COOKIE or HTTP_COOKIE_VARS

    You might want to view source and see if there is any javascript setting cookies.

    [edit] aha

    It is set through javascript

    Scripts.js

    You might be able to just comment out everything inside the

    PFN_createCookie
    and
    PFN_readCookie

    functions
     
    Khayman likes this.
  6. Heeter

    Heeter Overclocked Like A Mother

    Messages:
    2,732
    Ha it worked,

    Thanks Bud,

    The browser still asks to remember the password, I hit "No", then I go check for cookies and they're not there, cool. When I hit "Yes" it still didn't show up.

    Will run more tests tomorrow.



    Thanks again,


    Heeter
     
  7. albybum

    albybum Penguin Rancher

    Messages:
    280
    Location:
    Elizabethton, TN
    Awesome, anytime.
     
    kcnychief likes this.
  8. kcnychief

    kcnychief █▄█ ▀█▄ █ Political User Folding Team

    Messages:
    16,948
    Location:
    Massachusetts
    Wow, nice albybum :)