473,849 Members | 1,946 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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:wind ow.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 3543
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*****@somewh ere.com> wrote in message
news:#z******** ******@TK2MSFTN GP14.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:wind ow.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*****@somewh ere.com> wrote in message
news:%2******** ********@TK2MSF TNGP14.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:wind ow.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
4854
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 output from the hyperlink. I need to have to querystring in Session.LCID = 1033 and the display date in Session.LCID = 2057. Coding :-
6
2571
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" color="#ffffff" size="2"> Contact | My Profile | Logout /font> </td>
6
2824
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 other pages can't inoke _blank as a target value, is there any way I can ensure that my aspx page always displays in a new browser window without using javascript? Thanks, Tina
1
1332
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 mode on my machine. Any suggestions? The JavaScript is: <script>window.open('../ReportForms/frmReportViewer.aspx','blank_')</script>
4
1957
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 try to isolate the problem. I have a simple application that demonstrates my problem. Page 1, step1: SaveSessionVariableButton will create a string value, show it on screen, save it in a session variable and show the session ID on screen....
6
2417
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
4245
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 bound operation needs to have access to Session variables; Even though I embedded the state information (which also includes the context object) in an object and passed the object to the Thread , I am unable to access the Session variables. The...
1
5353
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 needs two different sessions. When user clicks on a link in the existing session, application pops up new window and the new session should start from here onwards for this instance of IE. I need the old session to continue in the parent IE...
6
1266
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 link that generates an Excel file depending on the choices the suer has made on the ASPX page. The Link doesn't actually Post the page, so I can't use the Form fields to transmit data to the XLS creator. So I was using Session variables....
0
9895
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9741
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
11008
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10349
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9501
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
7070
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5929
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4545
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3177
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.