Cookies get sticky when you alternate www.somewhere.org and
somewhere.org, and you haven't specified the domain for the cookies.

let's say you set one on somewhere.com then try to clobber it from
www.somewhere.com you can get into trouble,

this is just general cookie advice. not sure if your cookie has domain problems.

On 2/21/07, Clodelio C. Delfino <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> $.cookie('my_cookie','',{expires: -1}) doesn't seem to work in FF2.0
> and Opera 9 but working well in IE 6/7 browser.
>
> May I ask how to ensure that "my_cookie" is assured
> deleted/removed...thanks in advance.
>
> Btw, below is a snippet of code.
> $(function() {
>         $("#div_logout").click(function() {
>         var cuser = $.cookie('my_cookie');
>         var lgout_msg = "Logout user " + cuser + " from the system?";
>
>         if (confirm(lgout_msg))
>         {
>                 alert(cuser + " was succesfully logged out.");
>
>                 $.cookie('sjo_cookie','',{expires: -1});
>
>                 $(".jqmClose").click();
>
>                 location.reload();
>             }
>
>         return false;
>         });
> });
>
> Cheers,
> cdelfino
>
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
>


-- 
Ⓙⓐⓚⓔ - יעקב   ʝǡǩȩ   ᎫᎪᏦᎬ
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to