Click here to get back home

launch new browser without parent's cookies

 HomeNewsGroups | Search | About
 comp.infosystems.www.authoring.html    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
launch new browser without parent's cookies Scott 05-08-2006
Get Chitika Premium
Posted by Scott on May 8, 2006, 4:15 am
Please log in for more thread options


I wish to have a link on a page that launches a new browser before it
loads the target link. The standard _new and _blank include the parent
browser's cookies. Is there an alternative method that excludes these
cookies?

Thanks in advance


Posted by David Dorward on May 8, 2006, 6:49 am
Please log in for more thread options


Scott wrote:
> I wish to have a link on a page that launches a new browser before it
> loads the target link.

Eugh

> The standard _new and _blank include the parent
> browser's cookies.

_new is not standard, it is forbidden by spec.

> Is there an alternative method that excludes these
> cookies?

Cookies are sent with every request to a domain until they expire. I
don't believe there is any way around it. (Although you could use a
query string that the server side enviroment interprets as "Ignore
Cookies").


Posted by David E. Ross on May 8, 2006, 10:43 pm
Please log in for more thread options


Scott wrote:
> I wish to have a link on a page that launches a new browser before it
> loads the target link. The standard _new and _blank include the parent
> browser's cookies. Is there an alternative method that excludes these
> cookies?
>
> Thanks in advance
>

With Mozilla-type browsers (e.g., Firefox, SeaMonkey, Camino), the
cookie.txt file is specific to the browser, not to the window. The
session cookies are specific to the browser executable, again not to the
window.

When a link forces a new window, a new browser is NOT launched. Only a
new window instance of the browser is launched.

Further, the Mozilla-type browsers now have a feature in which the user
can force the current window to be used, overriding your attempt to
launch a new window. Since these browsers have tabbed browsing (as does
Opera), the user has three choices when you try to launch a new window:
open the link in the current tab of the current window, open the link in
a new tab in the current window, or launch a new window for opening the
link. Whichever option is used, only one browser executable is involved.

--

David E. Ross
<http://www.rossde.com/>

Concerned about someone (e.g., Pres. Bush) snooping
into your E-mail? Use PGP.
See my <http://www.rossde.com/PGP/>

Posted by Richard Gration on May 9, 2006, 10:00 am
Please log in for more thread options


On Mon, 08 May 2006 01:15:00 -0700, Scott wrote:

> I wish to have a link on a page that launches a new browser before it
> loads the target link. The standard _new and _blank include the parent
> browser's cookies. Is there an alternative method that excludes these
> cookies?
>
> Thanks in advance

Cookies have a path associated with them. You may, by careful arrangement
of your files, arrange to have the cookie(s) returned how you wish. If you
place all the files/scripts which require cookies in, say, a 'cookie'
subdirectory and then send all cookies with the path set to '/cookie'
(instead of the default '/' which causes cookies to be returned for all
requests to your site) then the cookies will only be returned when the
path matches the request (I believe the cookie will be returned for all
requests that *start* with '/cookie', in this example).

HTH
Rich

Similar ThreadsPosted
Explain abt Cookies n their uses July 29, 2004, 1:41 am
Newbie HTML Cookies December 11, 2004, 2:06 pm
Cross Domain Cookies April 25, 2005, 2:17 pm
Problems with images setting cookies in a different domain November 7, 2007, 3:44 am
Launch MSTSC from SHTML Page. January 13, 2006, 9:33 am
Web Calendar Re-Launch, Feedback Requested December 22, 2005, 9:24 am
Launch FireFox3.x with profile but without confirmation from command line October 19, 2008, 1:18 am
This work on your browser? January 8, 2007, 1:27 am
XML browser support April 13, 2007, 9:48 pm
Browser survey June 28, 2008, 1:37 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap