473,395 Members | 1,870 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,395 software developers and data experts.

How to force new Session when spawning browser using hyperlink

Hi. Does anyone know how I can force a new session when my asp.net app
openes a window which links into my application using
javascript:window.open().

I want the application to spawn a new window (and session) which does not
interfere with each other....

Thanks
Børge

(please do no respond directly, as my email is not the real one...)
Nov 18 '05 #1
2 3519
Call Session.End in the PostBack. When the script is added to the page, a
new request is created when the new window is spawned, which starts a new
Session.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
I get paid good money to
solve puzzles for a living

"Børge Hansen" <so*****@somewhere.com> wrote in message
news:#z**************@TK2MSFTNGP14.phx.gbl...
Hi. Does anyone know how I can force a new session when my asp.net app
openes a window which links into my application using
javascript:window.open().

I want the application to spawn a new window (and session) which does not
interfere with each other....

Thanks
Børge

(please do no respond directly, as my email is not the real one...)

Nov 18 '05 #2
you can not do this cookies, as both client windows share the same cookie
info. but if you use cookieless sessions (url munging) you can have the new
window start a new session by munging a new session id in its url.

-- bruce (sqlwork.com)
"Børge Hansen" <so*****@somewhere.com> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
Hi. Does anyone know how I can force a new session when my asp.net app
openes a window which links into my application using
javascript:window.open().

I want the application to spawn a new window (and session) which does not
interfere with each other....

Thanks
Børge

(please do no respond directly, as my email is not the real one...)

Nov 18 '05 #3

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

Similar topics

8
by: Rob | last post by:
Hi all, Is it possible to change the Session.LCID in a hyperlink? My problem is I'm calling a Date from a database to use as a querystring in the hyperlink but I also need to display the date as...
6
by: Nedu N | last post by:
Hi, I am trying to design a Home page for my applicatiion in which i want show the links for for some itms... I tried to put the following <td> <font face="Arial, Helvetica, sans-serif" ...
6
by: T. Seaburn | last post by:
I have an aspx page that is always invoked by Response.Redirect calls from other pages. I want my aspx page to always display in a new browser window. Since the Response.Redirect calls from the...
1
by: POL8985 | last post by:
When I deploy an ASP.Net onto a customer's IIS 6.0 server, the Session variable is nuked for any new page opened by JavaScript. However, this works fine when I am running the ASP.Net in debug...
4
by: T Ralya | last post by:
I am told that ASP.NET controls the session ID and session variables, but that does not fit my symptoms. I am posting here as directed. I'm hoping that someone can at least recommend something to...
6
by: Shawn | last post by:
Any ideas how I can have a button click on one open page force a postback on a different page.
4
by: Diffident | last post by:
Hi All, I am trying to perform a non-CPU bound operation in an asynchronous fashion using 'Thread' and a delegate. Basically, I am spawning a thread using ThreadStart and Thread. My non-CPU...
1
by: =?Utf-8?B?YWxiZXJ0bHk=?= | last post by:
How can I create a new session from the existing session in asp.net when new IE session is opened using javascript's window.open method or user's hyperlink click? I have a web application which...
6
by: John Kotuby | last post by:
Hi all, I am trying to get an ASPX page written in VB and VS 2008 to open more quickly inside of am Iframe in a standard HTML page. One of the things the page does is to allow users to click a...
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...
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
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.