Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.datemas.de!weretis.net!feeder4.news.weretis.net!news.teledata-fn.de!newsfeed.arcor.de!newsspool2.arcor-online.net!news.arcor.de.POSTED!not-for-mail Content-Type: text/plain; charset="UTF-8" Message-ID: <2202844.iGi71jj4uv@PointedEars.de> From: Thomas 'PointedEars' Lahn Reply-To: Thomas 'PointedEars' Lahn Organization: PointedEars Software (PES) Date: Fri, 09 Aug 2013 14:58:04 +0200 User-Agent: KNode/4.10.5 Content-Transfer-Encoding: 8Bit X-Face: %i>XG-yXR'\"2P/C_aO%~;2o~?g0pPKmbOw^=NT`tprDEf++D.m7"}HW6.#=U:?2GGctkL,f89@H46O$ASoW&?s}.k+&. MIME-Version: 1.0 Lines: 32 NNTP-Posting-Date: 09 Aug 2013 14:58:09 CEST NNTP-Posting-Host: 05273dd8.newsspool4.arcor-online.net X-Trace: DXC=Qk3WB[Wn^]H6PJ?[X6JIXE4IUKXZ>eO@ X-Complaints-To: usenet-abuse@arcor.de Xref: csiph.com comp.lang.javascript:20900 Lison Allen wrote: > Any one know how to track cookie deleting, find where was the specified > cookie delete? > Already ruled out being delete by request header. So it can only be delete > by javascript, right? By any client-side ECMAScript implementation in that environment (there is no javascript¹). Look for assignments to “document.cookie”, where the right-hand side contains “0” or “new Date()”. A way to delete a (non-HTTP-only) cookie is document.cookie = "cookie_name=…;max-age=0"; or document.cookie = "cookie_name=…;expires=" + (new Date()).getUTCString(); ______ ¹ -- PointedEars Twitter: @PointedEars2 Please do not Cc: me. / Bitte keine Kopien per E-Mail.