473,770 Members | 1,996 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Session Lost On Popup Close

Hi All,

Need big time help with this one. I'm using Forms Authentication with
an ASP.NET (VB.NET) web app, and everything is fine until the client
opens a popup window using javascript on the client side. The problem
is that when they close the popup window (either closing the window
with the X button or with the close method on the java popup, and then
go to navigate in the main window again (the one that launched the
popup) the session state is lost. The request does not authenticate (I
watch it in the global.asax on the server side) and the User object is
Nothing. Any ideas?

To recap--they log in, navigate around, no problems. Click on a link
that opens a popup and then close the popup, and cannot because they
are logged out, even though the original window is still open.

Tried to use cookieless forms authentication as well, with munged URL's
and I still have the same problem.

Thanks,
Anthony

Anthony Iasso
Oberon Associates

Nov 19 '05 #1
0 1557

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

Similar topics

5
1952
by: LucasGT | last post by:
Hi, I've been searching for a long time, but couldn't come up with a solution or a clue, so I submit my case to your attention : 1. On a Windows client, an application creates a temporary htm file and opens it with IE 6. This file only contains a redirection instruction to an outside URL : <META HTTP-EQUIV=Refresh
7
7226
by: Billy Jacobs | last post by:
I am having a problem with my session variable being set to Null for no apparent reason. I am declaring it like the following when the user logs in. dim objUserInfo as new clsUserInfo 'Set some properties objUserInfo.UserName = txtUserName.text.trim objUserInfo...
6
13007
by: Tony G. | last post by:
Hi there, I have an APS 3 application, running on a Windows 2003 Web edition server - it is a very busy website, and when users are click on certain links (membership info), a new window i opened via javascript. This new window is on the SAME website as where the user is located, but just opened in HTTPS (secure) mode - the user can now examine memberhip terms and continue to buy membership.
4
2024
by: Igor | last post by:
Is it possible to point current context's session to another active session based on a SessionID?
1
12686
by: gvrajkumar | last post by:
Hi Popup window is opened and after some time session has expired. After session expire, if the user tries to make any actions on the popup page the user is redirected to login.jsp page. What I want is when the user tries to make any actions on the expired popup I want the popup window to be closed and parent window to be refreshed with the login.jsp page. Basically I want identify the popup window.
2
2418
by: louicifer | last post by:
Hey, When I did the following steps the session in window A lost. 1.) authenticate user in window A. 2.) open a new window B by clicking a button (in window A) which calls window.open(...). 3.) the session is valid in window B. 4.) execute a php script from a form in window B. This script do a session_start(). 5.) the session is still valid in window B. 6.) BUT sometimes(????) the session is lost in window A either I close the window B...
3
2654
by: Tomasz J | last post by:
Hello Developers! A lot has been written about Java Script window.open() function and lost session state. But the most recent version of IE seems to handle it correctly. But now I have an opposite problem: how to open a new browser window so it *does not* share the session state with the first (parent) window? I have a web application which must open a new popup window, but new session
1
2433
by: magix8 | last post by:
Hi, I have a portal with logon session coded in ASP. From the Portal Main screen, i access to a popup-window screen to do my activity. Whenever session expired, the popup-window screen will redirect to logon page, but this is not what I intended Normally when session expired, and if you click any in the portal main screen, it will redirect to logon page, and this is fine. For popup windows screen, what I want is that:
4
3086
by: keyser soze | last post by:
this is unbeliveable... i'm trying to set a session var "x" from a local var "y" .... session("x")= y response.write( session("x") ) --it outputs the content! response.end --stop here ....
0
9454
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
10259
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...
1
10038
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8933
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...
1
7456
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6710
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
5354
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4007
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
2849
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.