Re: Documentation of UIless cookie prefs?

2001-08-17 Thread Ben Bucksch

Jason Bassford wrote:

>>You can limit the lifetime of cookies. (The prefs are not yet listed in 
>>all.js.) See bug 53354.
>>
>
>   The only possibility I can see there are from your source code for
>a possible fix that was then rejected by morse.
>
>+user_pref("network.cookie.lifetimeLimit",0) 
>
>   But if the patch wasn't checked in I assumed that it wouldn't be
>functional.  Or was this part of your UI interface to the pref?
>
>   According to 53354 the backend, pref, side was already completed in
>bug 8530.  And reading that bug it says that it was verified and
>fixed.  But it doesn't say what the pref is.  Is it the above?
>
>  Jason.
>
yes





Re: Documentation of UIless cookie prefs?

2001-08-17 Thread Jason Bassford

> You can limit the lifetime of cookies. (The prefs are not yet listed in 
> all.js.) See bug 53354.

   The only possibility I can see there are from your source code for
a possible fix that was then rejected by morse.

+user_pref("network.cookie.lifetimeLimit",0) 

   But if the patch wasn't checked in I assumed that it wouldn't be
functional.  Or was this part of your UI interface to the pref?

   According to 53354 the backend, pref, side was already completed in
bug 8530.  And reading that bug it says that it was verified and
fixed.  But it doesn't say what the pref is.  Is it the above?

  Jason.




Re: Documentation of UIless cookie prefs?

2001-08-16 Thread Ben Bucksch

Mitchell Stoltz wrote:

>>> * Accept all other cookies but discard after two hours (or failing 
>>> that,
>>>  at the end of the session)
>>
>   Not currently possible.

You can limit the lifetime of cookies. (The prefs are not yet listed in 
all.js.) See bug 53354.




Re: Documentation of UIless cookie prefs?

2001-08-16 Thread Mitchell Stoltz


Jason Bassford wrote:

>>Are the UIless cookie prefs documented anywhere?


I don't know of any documentation on this. The cookies themselves 
(including expiration times) are stored in cookies.txt, and the blocking 
information is in cookperm.txt, both in your profile directory. The 
formats of those files are pretty easy to comprehend in a text editor. 
Note that cookie prefs are NOT stored in prefs.js, or all.js, like 
JavaScript/DOM security prefs are.


> 
> 
>>I'd like to do the following:
>>* Enable persistent cookies for bugzilla.mozilla.org

   Not currently possible, that I know of.


>>* Disable cookies from servers on a list

   Edit cookperm.txt


>>* Accept all other cookies but discard after two hours (or failing that,
>>  at the end of the session)

   Not currently possible.



>If you figure the above out, let me know.  I would also like to
> implement this.  



Jason, I would love it if you could implement this. File a bug and 
submit a patch, if you're interested.
  -Mitch







Re: Documentation of UIless cookie prefs?

2001-08-15 Thread Jason Bassford

> Are the UIless cookie prefs documented anywhere?

   Good question.  I understand that there IS some method of forcing
cookie expiration times (after session or X days) but I have no idea
where to find that information.

> I'd like to do the following:
> * Enable persistent cookies for bugzilla.mozilla.org
> * Disable cookies from servers on a list
> * Accept all other cookies but discard after two hours (or failing that,
>   at the end of the session)

   As far as I know this is not possible.  The "best" you can do is
keep getting prompted for each new site you go to.  (Or have it ask,
visit bugzilla and let it set a cookie, then mark your cookies.txt and
cookperm.txt as read only.  But that would then prevent your last
point.)  As for that, although I understand from Bugzilla discussion
that it's possible to for all cookies to expire after a set period of
time (days not hours) I don't know what the prefs.js entry for this
looks like.

   Bug 8530 says that you can enable forced cookie sessions (they
expire after a session) but it doesn't say HOW to do this.  (Other
bugs are for working on an UI to this.)

   If you figure the above out, let me know.  I would also like to
implement this.  (Maybe just allow all cookies but force them to
expire at session end, except for any on my whitelist - ?)

  Jason.




Documentation of UIless cookie prefs?

2001-08-13 Thread Henri Sivonen

Are the UIless cookie prefs documented anywhere?

I'd like to do the following:
* Enable persistent cookies for bugzilla.mozilla.org
* Disable cookies from servers on a list
* Accept all other cookies but discard after two hours (or failing that,
  at the end of the session)

What pref lines should I add to my prefs.js?

-- 
Henri Sivonen
[EMAIL PROTECTED]
http://www.clinet.fi/~henris/