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

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 5321
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.open" 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**********@community.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
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...
2
by: Clement | last post by:
I need to retrive user session by session id. Any help is much appreciated. Thank you.
2
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...
3
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())...
3
by: chalres | last post by:
what is different between session and session token? that's i need to know...is it called Session?
3
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...
0
by: kramprasad | last post by:
hi friends, In asp how to redirect to a login page when session is loss or expire.
4
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
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
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

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.