Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



Reply
delete cookies with javascript
Old 10-16-2006, 12:23 PM delete cookies with javascript
Junior Talker

Posts: 2
Trades: 0
Does anyone know how to delete cookies with javascript?

Thanks.
__________________
Austin TJ

Please login or register to view this content. Registration is FREE
austin is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 10-16-2006, 05:16 PM Re: delete cookies with javascript
logic ali's Avatar
Super Talker

Posts: 104
Trades: 0
Quote:
Originally Posted by austin View Post
Does anyone know how to delete cookies with javascript?

Thanks.
The same way you create them, except you pass the 'expires' parameter a past date.
logic ali is offline
Reply With Quote
View Public Profile
 
Old 10-16-2006, 06:28 PM Re: delete cookies with javascript
Junior Talker

Posts: 2
Trades: 0
Quote:
Originally Posted by logic ali View Post
The same way you create them, except you pass the 'expires' parameter a past date.
Thanks, but i would like to know how to delete all the cookies not just mines.
Is that possible?
__________________
Austin TJ

Please login or register to view this content. Registration is FREE
austin is offline
Reply With Quote
View Public Profile
 
Old 10-16-2006, 08:24 PM Re: delete cookies with javascript
mgraphic's Avatar
Truth Seeker

Latest Blog Post:
JAMISONTUNES
Posts: 2,898
Name: Keith Marshall
Location: Connecticut
Trades: 0
Quote:
Originally Posted by austin View Post
Thanks, but i would like to know how to delete all the cookies not just mines.
Is that possible?
NO - Cookies are only allowed to the domain that set them. It would be a security risk/issue if one site could access cookies created from another site.
__________________

<mgraphic /> - I don't have a solution but I admire the problem.
mgraphic is online now
Reply With Quote
View Public Profile
 
Old 10-17-2006, 12:07 AM Re: delete cookies with javascript
logic ali's Avatar
Super Talker

Posts: 104
Trades: 0
Quote:
Originally Posted by austin View Post
Thanks, but i would like to know how to delete all the cookies not just mines.
Is that possible?
Why do you want to do that?
logic ali is offline
Reply With Quote
View Public Profile
 
Old 10-17-2006, 01:34 AM Re: delete cookies with javascript
seomumbai's Avatar
Skilled Talker

Posts: 98
Trades: 0
For Deleting the cookies with Javascript you have to Set Expire date of the cookie a hour ago.
seomumbai is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to delete cookies with javascript
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.34525 seconds with 12 queries