We tried that code at one point and found it to be pretty buggy when
used in the modern world.  (There is no QA process that screens code
going into the Commons library.)  I think you would be well-served to
start from the code as a framework, but rewrite the actual
implementation code from scratch making reference to the "specification"
for cookies (I use quotes advisedly).  My guess is that code was
originally implemented with a single browser type/OS in mind, with a
fairly restricted set of requirements, and it stubbed out the more
complete set of functionality but left parts of it silently
unimplemented.

ian

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Eric Palmitesta
> Sent: Friday, September 05, 2008 8:58 AM
> To: General Mark Logic Developer Discussion
> Subject: Re: [MarkLogic Dev General] Cookies, "remember me on 
> this computer"
> 
> I forgot to search the mailing list, looks like there was 
> Cookie discussion in 2005, and reference is made towards 
> depositing code in a Commons library, which looks like it's 
> right in the workshop
> (http://developer.marklogic.com/code/)
> 
> Sorry!
> 
> Eric
> 
> Eric Palmitesta wrote:
> > Hi all,
> > 
> > I'd like to provide my users with an option to "remember 
> them" between 
> > sessions by dropping a cookie.  There doesn't seem to be 
> any functions 
> > for this, should I just be dropping the cookie manually via 
> > xdmp:add-response-header (or am I missing something)?
> > 
> > Cheers,
> > 
> > Eric
> > _______________________________________________
> > General mailing list
> > [email protected]
> > http://xqzone.com/mailman/listinfo/general
> _______________________________________________
> General mailing list
> [email protected]
> http://xqzone.com/mailman/listinfo/general
> 
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general

Reply via email to