Current location: Hot Scripts Forums » General Web Coding » Flash & ActionScript » get a cookie without knowing the cookie name?


get a cookie without knowing the cookie name?

Reply
  #1 (permalink)  
Old 05-30-06, 09:47 PM
sixabat's Avatar
sixabat sixabat is offline
Newbie Coder
 
Join Date: Apr 2006
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
get a cookie without knowing the cookie name?

Is there a way to obtain all the cookie names that a user currently has and display them?

For example say you have set 3 cookies for this user:

cookie1
cookie2
cookie3

I want the script to be able to say you have the following for our site:

cookie1
cookie2
cookie3

Also, is there a way to do this in flash?
__________________
www.roostercode.com[/COLOR][/COLOR]
Reply With Quote
  #2 (permalink)  
Old 05-30-06, 09:48 PM
sixabat's Avatar
sixabat sixabat is offline
Newbie Coder
 
Join Date: Apr 2006
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
a things like "escape(document.cookie)" but in actionscript! not javascript!
__________________
www.roostercode.com[/COLOR][/COLOR]
Reply With Quote
  #3 (permalink)  
Old 06-01-06, 02:29 AM
UnrealEd's Avatar
UnrealEd UnrealEd is offline
Community Liaison
 
Join Date: May 2005
Location: Antwerp, Belgium
Posts: 3,165
Thanks: 4
Thanked 25 Times in 25 Posts
i'm not sure, but i don't think it is even possible to access cookies trhough flash. i might be wrong off course.

i knwo you can't do it in php, you have to know the name of the cookie.

however i'm wondering: why don't you know the name of the cookie that you have set?

Greetz,
UnrealEd
__________________
"Good judgement comes from experience, and experience comes from bad judgement." - Fred Brooks

Reply With Quote
  #4 (permalink)  
Old 06-02-06, 09:04 PM
Pissedoff Pissedoff is offline
Newbie Coder
 
Join Date: Jun 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
If this conserns flash, why not use Shared Objexts?
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
cookie problems pricecd JavaScript 1 04-24-06 12:58 AM
access cookie from different path crmpicco JavaScript 1 02-21-06 03:03 PM
maintaing state with a server Betty Perl 0 12-09-05 07:23 AM
Setting a cooke (time it expires) mcrob PHP 4 04-27-05 12:13 PM
Passing info between pages w/ URL HairySpider JavaScript 6 01-09-05 08:47 AM


All times are GMT -5. The time now is 06:12 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.