473,657 Members | 2,535 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Getting Session by SessionID (in a different context)

I have a question about session state:

I have a complex application in which after logging into an ASP.Net
2.0 application using asp membership, a subsequent page passes the
SessionID to an embedded Flash component. This Flash component will
then talk to a Java component on the server. This Java component then
will contact a web page/service in ASP.Net, passing in the SessionID.

This Java call will be in a different HTTP context. So I need to get
the Session variables in the ASP.Net application based on the
SessionID. I cannot find any way to get the Session variables if I
know the SessionID.

I would very much like to leverage the ASP Sesion State architecture,
but cannot seem to resolve this problem.

Any ideas?

Patrick

Sep 14 '07 #1
0 1303

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

Similar topics

4
2015
by: Igor | last post by:
Is it possible to point current context's session to another active session based on a SessionID?
6
7655
by: Mike Kline | last post by:
Hi There! I'm creating a HttpModule and after AcquireRequestState event, I tried to access the HttpApplication.Session.SessionID and somehow I'm getting a new value on every Refersh of ASPX page. I thought SessionID is supposed to stay static until the session timeout defined in the web.config. Or am I missing something here??? Thanks!!
3
2476
by: Siobhan | last post by:
I am getting the following error: Run-time exception thrown : System.Web.HttpException - Session state can only be used when enableSessionState is set to true, either in a configuration file or in the Page directive Session state is enabled throughout the application. This is occuring after I do a server.transfer and I am passing details between my 2 pages using Context.Items collection. It would appear theuse of the Context.Items...
1
1504
by: Fabio R. | last post by:
How the Session.SessionID works on a webfarm? It always returns the same id because its cookie based or it can returns a different value if the second request hit another server in the farm? Thanks, Fabio
1
1435
by: Rory | last post by:
Hi - I've seen quite a few posts that almost match this but haven't found a solution that works. I have an explorer-like application with a treeview in the lefthand pane. When I right-click on a node, a context menu appears. How can I get different context menus to appear depending on which node is chosen. Here's my existing code: Private Sub treeView1_MouseDown(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs)...
0
1142
by: Ben Fidge | last post by:
Hi I've got some ASP.NET code that spins off a couple of worker threads during a button click event. These threads call a series of functions that log their activity to a text file. For some reason, HttpSession.Current.Session.SessionID is blank when accessed inside these threads, but works fine outside them in the main button click handler. I've looked at using ParameterizedThreadStart to pass the session ID to the thread, but this...
1
4145
by: santaferubber | last post by:
The first query returns me the results from multiple databases, the second does the same thing except it puts the result into a #temp table? Could someone please show me an example of this using the first query? The first query uses the @exec_context and I am having a challenge trying to figure out how to make the call from within a different context and still insert into a #temp table. DECLARE @exec_context varchar(30) declare @sql...
5
2569
by: jediknight | last post by:
Is it possible to programmatically stop multiple browsers from getting the same session state? The problem I have is that whenever I open a new browse using File- I would like to stop this from happening and redirect to the homepage. Thanks in advance!
0
1391
by: simonbuxton132 | last post by:
I am trying to filter the Repeater .Net control to the SessionID of the current 'browser' without success. I have tried both in the page as Session.SessionID.ToString() and in the codebehind. I have also tried setting a hiddenTextBox to the SessionID on Page_Load. Although I get no errors, the results appear as though the are no records (which there are). If I write the sessionID with Response.Write it writes the correct value but when...
0
8324
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
8740
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...
1
8513
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
7352
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
5642
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
4173
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...
0
4330
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2742
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
2
1733
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.