473,385 Members | 1,752 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

launch new browser without parent's cookies

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

May 8 '06 #1
3 2005
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").

May 8 '06 #2
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/>
May 10 '06 #3
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
May 10 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Kevin Thorpe | last post by:
I've hit a problem with sessions. If I have a document relying on sessions which has a link target=_blank then the new window inherits the session from its parent (in IE). However, if I embed...
6
by: Jean-Michel | last post by:
Hi, I'd like to launch a local application with a HTML page without any user popup validation, just a user click. I know that I can do it with a applet, ActiveX or a flash but I'd like manage it...
2
by: Robert V. Hanson | last post by:
If you have per user information that you want to store in session and the setting in web.config is set to cookieless=false so you are intending on using cookies, the user's browser is set to not...
5
by: David Baker | last post by:
Hi all I am very new to ASP.Net. I am trying to create a sniffer for our program. We want our users to click our sniffer and hopefully the sniffer will check their computer against our...
6
by: Vlad Jasovic | last post by:
hello, I have following session setting in my web.config file: <configuration> <system.web> <sessionState mode = "InProc" cookieless="true" timeout="10"/> </system.web>
8
by: greg | last post by:
Hi Maybe it is a newbie question but... When I have two browser windows even popups I noticed they share ALL cookies even session ones What can I use to distinguish between them? Is...
9
by: SHarris | last post by:
Hello, In our new intranet ASP.NET project, two requirements are that the browser accept cookies AND JavaScript. We are requiring the use of Internet Explorer 6+. 1. Using C# in an ASP.NET...
24
by: FAQ server | last post by:
----------------------------------------------------------------------- FAQ Topic - How can I see in javascript if a web browser accepts cookies?...
3
by: =?Utf-8?B?Qkw=?= | last post by:
if (Request.Browser.Cookies) { // Cookies supported } else { // Web browser not supports cookies }
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.