473,385 Members | 1,806 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.

Can I open a new window with a new SessionID?

I need the ability to open a new browser window from both IE 5.0+ & Netscape
6.0+ and also creates a new Session. IE does this each time iexplore.exe is
run, but not from a JavaScript window.open. Netscape doesn't appear to work
when running the EXE multiple times.

I can get this to work with Windows Scripting Host, but there are security
issues on the client. Another solution that doesn't require client-side
changes would be preferrable.

Any ideas?

Robb
Nov 17 '05 #1
2 3869
Hi,

the only idea that comes to mind is to open the second window with
window.open and then have a small JScript on the page that deletes the
ASPNET session cookie. Worth a try, but I am not sure if it works. I am a
little puzzled that a new IE instance gets a new session ID anyway...

Best regards,

Marc Höppner
NeoGeo

"Robb Smith" <Ro********@Integra-Group.com> wrote in message
news:ud**************@TK2MSFTNGP11.phx.gbl...
I need the ability to open a new browser window from both IE 5.0+ & Netscape 6.0+ and also creates a new Session. IE does this each time iexplore.exe is run, but not from a JavaScript window.open. Netscape doesn't appear to work when running the EXE multiple times.

I can get this to work with Windows Scripting Host, but there are security
issues on the client. Another solution that doesn't require client-side
changes would be preferrable.

Any ideas?

Robb

Nov 17 '05 #2
Check out for session.abadon() method. Before opening new window, you can do
session.adadon() for the current page, hence new session will be created for
next request. I personally didnt tried this. but it is worth trying it out.

--
Saravana
Microsoft India Community Star,
MCAD,SE,SD,DBA.
"Robb Smith" <Ro********@Integra-Group.com> wrote in message
news:ud**************@TK2MSFTNGP11.phx.gbl...
I need the ability to open a new browser window from both IE 5.0+ & Netscape 6.0+ and also creates a new Session. IE does this each time iexplore.exe is run, but not from a JavaScript window.open. Netscape doesn't appear to work when running the EXE multiple times.

I can get this to work with Windows Scripting Host, but there are security
issues on the client. Another solution that doesn't require client-side
changes would be preferrable.

Any ideas?

Robb

Nov 17 '05 #3

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

Similar topics

5
by: Mark | last post by:
Hi all, I have a website where I want to be able to 'pop up' a window using the window.open call in JavaScript. I remember back in the old days of classic ASP there was a problem where a call to...
5
by: John Scott | last post by:
Ok..this a rather odd question/problem. I haven't really found a straight forward answer to how to handle this scenario, so I hope someone here can help. Here it is: I have an application...
9
by: cendrizzi | last post by:
Hi all, I've read some stuff on this but can't seem to come up with a solution that works right. I have a semi-mature (yet very large and robust) internal web application that currently only...
4
by: Jerad Rose | last post by:
I have searched high and low, and I can't find anybody having this problem, so I'm sure it's something really simple I'm overlooking. In fact, I've seen many posts of people trying to set up the...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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: 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...

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.