var myCookie = $.cookie('myCookie');
if (myCookie) { // Cookie mevcut ise, değerini kullanabilirsiniz. console.log("Cookie bulundu: " + myCookie); // Örneğin, kullanıcıya mesaj göstermek: alert("Cookie bulundu: " + myCookie); }
else { // Cookie yoksa, gerekli işlemleri gerçekleştirin. console.log("Cookie bulunamadı."); alert("Cookie bulunamadı."); }
SET;
$.cookie('myCookie', '1', { path: '/' });
C#,MVC,MSSQL,Windows Forms