473,396 Members | 2,036 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,396 software developers and data experts.

Exploring the open sessions, manually connecting one

Hello,

I have two questions regarding the Session state.

1) Is there some way on the server to programmatically access the other
active sessions? Well, perhaps the question should be formulated not "is
there a way", but "how to do it", because that almost inevitably must be
possible - after all, the ASP.NET enables access for all the session users
to their respective sessions. Perhaps studying the full request lifetime,
and finding out how ASP.NET uses the Session ID cookie to instantiate the
session state, but it could be a teadious task to do. Please, tell me the
best way to access the other active sessions and their data. That would
greatly improve debugging of my online app.

2) How to tell server to connect to another Session state? I have a problem
with online application: the application is opened in a web browser control
of 3rd party desktop application. If I spawn a pop-up window from the aspx
page that is loaded in the IE control, the popup window, unfortunately,
starts up a new session. I am not quite sure, why this happens - the two
pages are on the same domain, the same folder. Maybe making the sessionID
cookie more durable somehow would solve this. However, I am looking for more
general way to connect to my session - that would give me freedom of choice
from possible options. If I would know how to start up a native session,
providing my own SessionID, so that the rest of the application could freely
use standard code to manipulate the session variables (ie, Session["abc"] =
1), there are possible solutions:
a) pass the session Id to the popup in query string
(mypopup.aspx?1234567890abcdef). Make the server to use the session Id in
the URL to connect to the correct session
b) pass the session Id in the URL (1234567890abcdef/mypopup.aspx), then
make http handler that uses the URL string to extract the session Id and
connect the session state object

I will be grateful for any ideas!

Thanks,

Pavils
May 10 '06 #1
0 1204

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

Similar topics

13
by: jing_li | last post by:
Hi, you all, I am a newbee for php and I need your help. One of my coworker and I are both developing a webpage for our project using php. We have a copy of the same files in different location...
9
by: E. Will | last post by:
Hello world, Myself and a few friends have been experiencing the same problem. When using sessions in PHP for ``logins'' we experience the sessions ``mixing.'' To say, one user logs in as...
3
by: Maxime Ducharme | last post by:
Hi group We have a problem with sessions in one of our sites. Sessions are used to store login info & some other infos (no objects are stored in sessions). We are using Windows 2000 Server...
1
by: Maziar Aflatoun | last post by:
Hi, Is it possible using asp.net to see how many people are using a certain web application. For example I have an application where 20+ users can log in and use. Is it possible using C#.net...
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
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
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,...
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,...
0
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...

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.