473,705 Members | 2,333 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to create new session when new IE session is opened?

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 instance.
How can I do that?

Thanks in advance

--
Albert Lyubarsky

Comtec LTD
Israel
Feb 7 '08 #1
1 5344
Hi Israel,

I agree with other members that the behavior whether new session will be
created is controlled by the client browser. While a new browser open be
opened by clicking a link on a page or "window.ope n" execute on a page, it
normally share the same session with the original window. Only when the end
user launch a new browser instance(at least for IE) will it start a new
session. Server-side application code has few control over this behavior.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
>From: =?Utf-8?B?YWxiZXJ0bHk =?= <my**********@c ommunity.nospam >
Subject: How to create new session when new IE session is opened?
Date: Thu, 7 Feb 2008 00:56:02 -0800
>
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 instance.
How can I do that?

Thanks in advance

--
Albert Lyubarsky

Comtec LTD
Israel
Feb 8 '08 #2

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

Similar topics

3
3942
by: Pavel Vetesnik | last post by:
Greetings! I have some troubles with session variables. I can easily create a session, but the variable I append to global session array ( $_SESSION) lasts only until the end of current function. I prepared an example that can demonstrate the problem (see code bellow): The program flow is this: (1) It starts with "session_start()" and displays "login_form()". (2) When user enters his username and password, it goes to "login()"
2
6537
by: Clement | last post by:
I need to retrive user session by session id. Any help is much appreciated. Thank you.
2
3535
by: Børge Hansen | last post by:
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
3
2576
by: Charlie | last post by:
Hi: I would like to clear session when user closes browser window by clicking the "x" in upper right hand corner. Since this is a client side event, how do I run server code (Session.Abandon()) when user clicks "x"? Thanks, Charlie
3
3331
by: chalres | last post by:
what is different between session and session token? that's i need to know...is it called Session?
3
4404
by: Alex D. | last post by:
Hi guys. I have been trying to create a new session from the server droping the exixting session using Session.Abandon but since the browser doesnt know that the session was abandoned it keeps sending the old session number and then the server uses the same old sesion number to start a new session. Is there a way to seta new session number and send it back to the browser? thanks, alex.
0
919
by: kramprasad | last post by:
hi friends, In asp how to redirect to a login page when session is loss or expire.
4
2026
by: =?Utf-8?B?QmVubnk=?= | last post by:
How do I create a new IE window (client script or ASP.NET server code) so that it will create a new ASP session with each new window? Thanks.
3
3230
by: =?Utf-8?B?QmlsbHkgWmhhbmc=?= | last post by:
I have a asp.net app. When session is invalid, how to redirect user to the login page? I don't want to add the code to redirect user to the login page into every page. Thanks, -Billy
0
8767
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
8689
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
9273
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
9136
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8979
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
7893
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
4703
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3137
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
2081
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.