Flash+cookies

This is a discussion on "Flash+cookies" within the Flash & Multimedia Forum section. This forum, and the thread "Flash+cookies are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Flash & Multimedia Forum

Notices


Closed Thread
 
LinkBack Thread Tools
  #1 (permalink)  
Old Oct 30th, 2003, 19:35
New Member
Join Date: Oct 2003
Location: Brazil
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to icthecat
Flash+cookies

I has found this on this forum:

_root.shareObj = SharedObject.getLocal("shareObj");
if (_root.shareObj.data.check == "here") {
gotoAndStop(43);
} else {
_root.shareObj.data.check = "here";
_root.shareObj.data.flush();
}

and that´s work....

but, how to eliminate this cookie???

on my case i need eliminate after close the browser window.

P.s. Sorry about my english!!!

  #2 (permalink)  
Old Oct 31st, 2003, 06:32
Most Reputable Member
Join Date: Jul 2003
Posts: 1,856
Thanks: 0
Thanked 0 Times in 0 Posts
Why would you want to eliminate the cookie when the browser window is closed?? The whole purpose of a cookie is so that it's stored for the user to return to the site??

If you mean, delete it after another visit to ths it or something, then ok...

Once you have declared:
_root.shareObj = SharedObject.getLocal("shareObj");
then your cookie is accessed and back in memory.
From here you can completly empty it... If you know the variables you have stored in it, just set them to "" (nothing), or 0, or something you can recognise in your code next time the site loads.

I can't find any actual code for destroying the cookie itself though.
Closed Thread

Tags
flashcookies

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
hey up cookies about cookie456 Introduce Yourself 7 Jun 12th, 2008 08:30
cookies in PHP marquey PHP Forum 4 May 31st, 2007 17:17
how to store cookies selphie08 Flash & Multimedia Forum 3 Sep 20th, 2006 01:54
ASP Cookies señorbadger Classic ASP 6 Nov 22nd, 2003 14:04
Flash Cookies! Webforumz Staff Flash & Multimedia Forum 0 Sep 3rd, 2003 12:09


All times are GMT. The time now is 03:12.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43