lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lynx-dev Lynx with lss, and reloading options


From: Leonid Pauzner
Subject: Re: lynx-dev Lynx with lss, and reloading options
Date: Sun, 19 Dec 1999 15:44:56 +0300 (MSK)

18-Dec-99 23:43 brian j pardy wrote:
> On Sun, Dec 19, 1999, Leonid Pauzner wrote:
>>
>> > I don't remember the exact logic for disabling LYCookieFile changes.
>> > Does it still apply, now that there is LYCookieSaveFile?  Does it
>> > apply even more?  Does it apply to LYCookieSaveFile?
>>
>> The following question should be answered first:
>> what to do on reloading if we change LYCookieFile?
>>
>>         1) do nothing (till the next session)
>>         2) replace LYCookieSaveFile path if it was changed so we
>>            save cookies to the new file on exit
>>         3) replace LYCookieFile path if it was changed and:
>>                 3a) save cookies to the old file
>>                 3b) load cookies from the new file
>>                 3c) clear cookie jar and load cookies from the new
                   3e) save cookies to temp file, clear cookie jar,
                       load cookies from new file,
                       load cookies from temp file, remove temp file

>>                 3d) save cookies to the new file on exit if no
>>                       LYCookieSaveFile set
>>
>>
>> Perhaps we should do 2), 3b) and 3d).     [currently do 1)]

> New cookies that come in (if 3b is done) from the new file will
> overwrite pre-existing ones in memory with the same name/domain/path
> elements, and because the only reason coming to my mind to use
> alternate cookie files is to use different accounts on web services,
> I don't think 3c) would be necessary.  3a) could use discussion
> though.

>> Another question what to do when we switch persistent_cookies?
>>  - from FALSE to TRUE - seems no problem (load the cookie file now)
>>  - from TRUE to FALSE - save cookies now/on exit/never ?

> IMHO:

> FALSE to TRUE - load the file, set LYCookieSaveFile = LYCookieFile if
> it is not set already

> TRUE to FALSE - save current cookies to LYCookieSaveFile immediately,
> then cycle through memory and delete persistent cookies we got from
> the old file.  Do we still have COOKIE_FLAG_FROM_FILE as an attribute?

> These aren't particularly strong preferences -- I hardly ever change
> anything during a session.  Lynx behavior there is nearly irrelevant
> to me.

> I do think that just on usability grounds, not doing anything until
> the next session is a little hairy.

> --
> We have lingered long enough on the shores of the Cosmic Ocean.
>               -- Carl Sagan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]