Jump to content

Question.

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
5 replies to this topic

#1
shovon

shovon

    Newbie

  • Members
  • Pip
  • 2 posts
How can I remove the cookies in the local intranet browser?

Plz give me details answer.

thank you.

#2
v0id

v0id

    Retired

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 2,936 posts
We don't know what browser you're using, so we can't really help you. The way of removing cookies are usually different from browser to browser.

#3
shovon

shovon

    Newbie

  • Members
  • Pip
  • 2 posts
Please Help me to remove default cookies from the local intranet?
Here I am using internet explorer 6.0 and for MySql database .

Give me details answer?

thank you.

#4
v0id

v0id

    Retired

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 2,936 posts
Now I noticed this is in the PHP-forum. Are you looking for a way to remove cookies through PHP? In that case, you can not. You need to put a new experiyng-value on the cookie, like you could make it expire soon, which will be the same as deleting it.

#5
bluemartian

bluemartian

    Newbie

  • Members
  • Pip
  • 1 posts
To delete a cookie, simply put these two lines in your script:
[HIGHLIGHT="PHP"]
setcookie('CookieName');
unset($_COOKIE['CookieName']);
[/HIGHLIGHT]

#6
Guest_Jaan_*

Guest_Jaan_*
  • Guests
well.. you can do like this also:

setcookie("cookieName", "cookieValue", time()+3600);

setcookie("cookieName", "", time()-3600);

time()+3600;
means that cookie is set for 10min :)