Hyperlink in new IE does not get new SessionID

A

Arka

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
 
P

Patrice

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
 
L

Lau Lei Cheong

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,904
Latest member
HealthyVisionsCBDPrice

Latest Threads

Top