Geeks Talk

Prepare for your Next Interview


Welcome to the Geeks Talk forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Killing Cookies

This is a discussion on Killing Cookies within the Web Design forums, part of the Web Development category; Can someone specify me a method for killing cookies from Web page? I need an efficient method of doing this....

Go Back   Geeks Talk > Web Development > Web Design
Register Blogs FAQ Tag Cloud Calendar Mark Forums Read

Web Design HTML, DHTML, XML, CSS, Browser Compatibility, Development feedback, and more. Web Design Issues and Problems

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-31-2006
Expert Member
 
Join Date: May 2006
Location: New York, USA
Posts: 118
Thanks: 0
Thanked 6 Times in 4 Posts
RyanJames is on a distinguished road
Killing Cookies

Can someone specify me a method for killing cookies from Web page? I need an efficient method of doing this.
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 08-03-2006
Contributing Member
 
Join Date: Jul 2006
Posts: 56
Thanks: 0
Thanked 3 Times in 2 Posts
Remasri is on a distinguished road
Re: Killing Cookies

You can either use predefined function for killing cookies or you can do it by setting the expiration date to some time in the past which makes the cookie to expire immediately and thus cookies are killed.
Reply With Quote
  #3 (permalink)  
Old 02-08-2009
Junior Member
 
Join Date: Feb 2009
Location: Dubai
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
waasim is on a distinguished road
Re: Killing Cookies

Php code: when deleting a cookie you should assure that the expiration date is in the past, to trigger the removal mechanism in your browser. Examples follow how to delete cookies sent in previous example: <?php // set the expiration date to one hour ago setcookie ("testcookie", "", time() - 3600); setcookie ("testcookie", "", time() - 3600, "/~rasmus/", ".example.com", 1); ?> for asp.net custom cookies killing see this link below creating a custom membership provider and membership user utilizing a data set table adapter
Reply With Quote
Reply

  Geeks Talk > Web Development > Web Design

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


Similar Threads

Thread Thread Starter Forum Replies Last Post
Cookies bvani Web Servers 4 04-04-2007 04:32 AM


All times are GMT -4. The time now is 07:44 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.1
Copyright © 2009 GeekInterview.com. All Rights Reserved