Re: [jQuery] Cookie handling in JQuery

2006-09-15 Thread Rexbard
://jquery.com/discuss/ -- View this message in context: http://www.nabble.com/Cookie-handling-in-JQuery-tf2256520.html#a6332370 Sent from the JQuery forum at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] Cookie handling in JQuery

2006-09-13 Thread Yehuda Katz
A cookie handler.On 9/12/06, Rey Bango [EMAIL PROTECTED] wrote: What would you like to see in a plugin?Rey...Yehuda Katz wrote: Would def. make a nice plugin. On 9/11/06, *Rey Bango* [EMAIL PROTECTED] mailto: [EMAIL PROTECTED] wrote: Does JQuery have any methods specific to working with cookies

Re: [jQuery] Cookie handling in JQuery

2006-09-13 Thread Sam Collett
On 12/09/06, Rey Bango [EMAIL PROTECTED] wrote: Does JQuery have any methods specific to working with cookies (eg: set, get, et al) or should I just one of the many premade functions out in the wild? Rey... Do cookies really have much to do with jQuery? Unless a plugin is needed to attach

Re: [jQuery] Cookie handling in JQuery

2006-09-13 Thread Yehuda Katz
It doesn't have to do with DOM Scripting, but then, neither does $.ajax. It's a commonly enough required feature that obviously doesn't belong in the core, but would be nice to tack on to an existing jQuery installation as a plugin without worrying about incompatibilities. -- YehudaOn 9/13/06, Sam

Re: [jQuery] Cookie handling in JQuery

2006-09-13 Thread Klaus Hartl
Yehuda Katz schrieb: It doesn't have to do with DOM Scripting, but then, neither does $.ajax. It's a commonly enough required feature that obviously doesn't belong in the core, but would be nice to tack on to an existing jQuery installation as a plugin without worrying about

Re: [jQuery] Cookie handling in JQuery

2006-09-13 Thread Aaron Heimlich
I never really worked with cookies, therefore I'm not sure if those methods would have any practical use at all.Cookies are limited to 4KB of data I believe, so they might be useful for short pieces of text like user preferences and such. ___ jQuery

Re: [jQuery] Cookie handling in JQuery

2006-09-13 Thread Dave Methvin
Under RFC 2695, a user-agent (such as a Web browser) should provide at least 4096 bytes per cookie - so the 4KB is a minimum for storage - not a maximum. See: http://www.faqs.org/rfcs/rfc2965 (section 5.3). Yes, but SHOULD is not MUST. http://rfc.net/rfc2119.html All modern browsers do

Re: [jQuery] Cookie handling in JQuery

2006-09-13 Thread Blair Mitchelmore
I think it would be best if we kept this in the typically succinct syntax of jQuery. such as .html() setting and getting depending on the attributes. This is a simple version that just consolidates your functions but... $.cookie = function(name, value, expires, path, domain, secure) { if

Re: [jQuery] Cookie handling in JQuery

2006-09-13 Thread Aaron Heimlich
Under RFC 2695, a user-agent (such as a Web browser) should provide "at least 4096 bytes per cookie" – so the 4KB is a minimum for storage – not a maximum. See: http://www.faqs.org/rfcs/rfc2965 (section 5.3).Well, that's news to me. Thanks for the clarification.

Re: [jQuery] Cookie handling in JQuery

2006-09-13 Thread Geoff Knutzen
- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Methvin Sent: Wednesday, September 13, 2006 2:22 PM To: 'jQuery Discussion.' Subject: Re: [jQuery] Cookie handling in JQuery Under RFC 2695, a user-agent (such as a Web browser) should provide at least 4096 bytes per

Re: [jQuery] Cookie handling in JQuery

2006-09-12 Thread Rey Bango
What would you like to see in a plugin? Rey... Yehuda Katz wrote: Would def. make a nice plugin. On 9/11/06, *Rey Bango* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Does JQuery have any methods specific to working with cookies (eg: set, get, et al) or should I just one of

Re: [jQuery] Cookie handling in JQuery

2006-09-11 Thread Yehuda Katz
Would def. make a nice plugin.On 9/11/06, Rey Bango [EMAIL PROTECTED] wrote: Does JQuery have any methods specific to working with cookies (eg: set,get, et al) or should I just one of the many premade functions out inthe wild?Rey...___ jQuery mailing