473,320 Members | 2,164 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,320 software developers and data experts.

Hyperlink in new IE does not get new SessionID

Hi,

I have an asp.net application and I need to have a link on one page
that starts another "instance" of my app.

I tried with Javascript windows.open and with hyperlinks target=_blank
but both opens a new IE on my App but with the same sessionID...

Ths only solution I see is to open a security hole to allow vbscript to
launch "IExplorer.exe MyURL" on the client when clicking on my link
!!!!

Is there no better way to do this ?

I am using IE 6.028 SP1 + some QXXX Patches / Win2000 and IIS6 on the
server.

Thanks,

Arka

Nov 19 '05 #1
3 2219
AFAIK it's hard to have control on this.

I never really had to do this but I would have a close look at the context.
For example if this is to allow the user to connect with a different set of
permissions, I would likely see if I could add this at the application level
(for example such as those applications were you give rights on your mailbox
so that someone else can handle it and so on...)

Patrice

--

"Arka" <ar***@caramail.com> a écrit dans le message de
news:11**********************@f14g2000cwb.googlegr oups.com...
Hi,

I have an asp.net application and I need to have a link on one page
that starts another "instance" of my app.

I tried with Javascript windows.open and with hyperlinks target=_blank
but both opens a new IE on my App but with the same sessionID...

Ths only solution I see is to open a security hole to allow vbscript to
launch "IExplorer.exe MyURL" on the client when clicking on my link
!!!!

Is there no better way to do this ?

I am using IE 6.028 SP1 + some QXXX Patches / Win2000 and IIS6 on the
server.

Thanks,

Arka

Nov 19 '05 #2
Arka,

I think it's sensable to have a child browser window share the same
sessionID as the parent, otherwise it may break the logics of some web
application utilizing popups(people stores user logins, etc. in Session
variables).

If you really want to run 2 web page in different context, I'll suggest you
to dynamicly generate a prefix and store the prefix list in cookies and
page-specific prefix in a hidden field, so you can call by
Session["page1_var1"]. If the page loads and in cookies you see "page1"
already, you should set the prefix for current page to page2 and then append
to prefix to the cookies. This will ensure it works without breaking logics
of other parts of the web application.

I believe there may be some more convienent way to work on this, but in my
insufficient knowledge this is the way to do.

Regards,
Lau Lei Cheong

"Arka" <ar***@caramail.com> ???
news:11**********************@f14g2000cwb.googlegr oups.com ???...
Hi,

I have an asp.net application and I need to have a link on one page
that starts another "instance" of my app.

I tried with Javascript windows.open and with hyperlinks target=_blank
but both opens a new IE on my App but with the same sessionID...

Ths only solution I see is to open a security hole to allow vbscript to
launch "IExplorer.exe MyURL" on the client when clicking on my link
!!!!

Is there no better way to do this ?

I am using IE 6.028 SP1 + some QXXX Patches / Win2000 and IIS6 on the
server.

Thanks,

Arka

Nov 19 '05 #3
Hello Arka,

This is because a new window is contained in the same iexplorer.exe process.
The same process shares session state because it shares cookies. I ran across
this situation a while back for a client, and the resolution that I came
to was to use cookieless sessions.

Set cookieless=true in the web.config.

--
Matt Berther
http://www.mattberther.com
Hi,

I have an asp.net application and I need to have a link on one page
that starts another "instance" of my app.

I tried with Javascript windows.open and with hyperlinks target=_blank
but both opens a new IE on my App but with the same sessionID...

Ths only solution I see is to open a security hole to allow vbscript
to launch "IExplorer.exe MyURL" on the client when clicking on my link
!!!!

Is there no better way to do this ?

I am using IE 6.028 SP1 + some QXXX Patches / Win2000 and IIS6 on the
server.

Thanks,

Arka


Nov 19 '05 #4

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

Similar topics

3
by: toedipper | last post by:
Hello, PHP and MYSql I have the code below which logs a visitor to my site via logging the session id and other details in a table. I only want to count a visit once so I have a check to see...
0
by: Dave Bailey | last post by:
I am using the following entry in the URL format string section of the property builder on a datagrid. I would like to pass the two variables as shgown mrForm.aspx?sessionid= + Session.SessionID...
5
by: Martin Dew | last post by:
Having some problems getting a hyperlink object to work in my repeater control, It displays the text I have asked it to for the hyperlink, but it does not act as a link. My repeater code is below...
8
by: Wernfried Schwenkner | last post by:
I have a datagrid with a hyperlink column. So I can specify only one NavigationUrl to all rows. How can I get an Id to the target Url, beeing able to display different data records an a more...
2
by: XML newbie: Urgent pls help! | last post by:
If I get SessionID in 1 function how do I carry that SessionID(value of this SessionID) to another function or another form within the same project
0
by: Richard Gregory | last post by:
Hi, I have the wsdl below, for an Axis web service, and when I select Add Web Refernce in Visual Studio the proxy is missing a class representing the returnedElementsType (see reference.cs below...
10
by: rlueneberg | last post by:
I am trying to foward the old sessionID using "Session.SessionID" to an HttpWebRequest CookieContainer so that I can capture the requested page session variables but it is not working as it is...
7
by: beachdog | last post by:
I'm using Visual Studio 2005/C# to build a web client. The web server is something I've written in a different framework, which does not support generating wsdl, so I have hand-built a wsdl file,...
20
by: tshad | last post by:
I had posted this problem earlier and just noticed that the Hyperlink is the problem. Apparently, it doesn't figure out the path correctly. It uses the path of the file it is in, even if it is...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.