Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

simple cookie question 1

Status
Not open for further replies.

spicymango

Programmer
May 25, 2008
119
CA
Hi,

When somebody logoff I clear few cookies that I set from my clents browser. I was wondering is there a way to write a javascript so that it also clear cooke set by someone else from the broswer.

Suppose there is a cookie name LoginIBM can I clear that one too?


 
You can only modify cookies on the same domain as your site. So unless you dropped the cookie in the first place ... no.

Cheers,
Jeff

[tt]Visit my blog [!]@[/!] Visit Code Couch [!]@[/!] [/tt]

Make sure your web page and css validates properly against the doctype you have chosen - before you attempt to debug a problem!

FAQ216-6094
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top