Hi
is there a way to access global session state information? I would like to
browse through all the items which have been stored per session under a
given key, e.g. Username, in order to retrieve the values of all users
sessions.
I use both, InProc and StateServer, depending on the installation.
Any hints are appreciated. Thanks,
Urs 3 979
In a word, "no".
Session is specific to an individual user, and does not expose any kind of
"global" collection.
Peter
--
Co-founder, Eggheadcafe.com developer portal: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
"Urs" wrote:
Hi
is there a way to access global session state information? I would like to
browse through all the items which have been stored per session under a
given key, e.g. Username, in order to retrieve the values of all users
sessions.
I use both, InProc and StateServer, depending on the installation.
Any hints are appreciated. Thanks,
Urs
Not good, but Thanks.
"Peter Bromberg [C# MVP]" <pb*******@yaho o.nospammin.com schrieb im
Newsbeitrag news:76******** *************** ***********@mic rosoft.com...
In a word, "no".
Session is specific to an individual user, and does not expose any kind of
"global" collection.
Peter
--
Co-founder, Eggheadcafe.com developer portal: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
"Urs" wrote:
>Hi
is there a way to access global session state information? I would like to browse through all the items which have been stored per session under a given key, e.g. Username, in order to retrieve the values of all users sessions.
I use both, InProc and StateServer, depending on the installation.
Any hints are appreciated. Thanks, Urs
There is a product (fairly expensive) that does support this.
It is called ScaleOut StateServer. Granted, this product
is largely for web farms but you may find some of the
features such as cross site sharing of in-memory data
appealing. http://www.eggheadcafe.com/articles/scaleout_server.asp
--
Robbe Morris - 2004-2006 Microsoft MVP C#
Earn money answering .NET questions http://www.eggheadcafe.com/forums/merit.asp
"Urs" <uv****@msn.com wrote in message
news:ut******** ******@TK2MSFTN GP03.phx.gbl...
Hi
is there a way to access global session state information? I would like to
browse through all the items which have been stored per session under a
given key, e.g. Username, in order to retrieve the values of all users
sessions.
I use both, InProc and StateServer, depending on the installation.
Any hints are appreciated. Thanks,
Urs This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Kristofer Liljeblad |
last post by:
Hi,
I've successfully setup my machine to use: sessionState mode="SQLServer".
All is up and running so no problems so far. Because I curious person, I
started to play around with the two new tables created on my SQLServer.
Here is what I've done.
1. I've created a web projectec consisting of two webforms. The first form
(default.aspx) is my testform and it doesn't do much at all. (Actually it
|
by: Flemming Jensen |
last post by:
The idea behind this code is to standardize all my webpages in an
application to look the same by inheriting the pages from a userdefined
class. But it gives me problems regarding sessionstate...
Try creating a new asp.net web application in Visual Studio .NET 2003 on
Framework 1.1 using VB language
Call the project testform
add a new webform called "atest.aspx"
|
by: mike parr |
last post by:
I want to use cookies on my website, simply to identify the user when
they come to my website (I will just be writing one for new users and
reading from people who are already users when they reach my home page).
Do I need to put cookieless="false" in my web.config sessionState tag,
or does it not matter (I usually use cookieless="true", but I never read
or write cookies). This is my usual sessionState :
<sessionState
mode="InProc"...
|
by: Mikko Penkkimäki |
last post by:
Hi
Looks like I can not change Web page's timeout setting. In practise it's all
the time 20 minutes - no matter what I do.
I have this kind of setting in web.config:
<sessionState
mode="InProc"
cookieless="true"
timeout="1"
|
by: ivanL |
last post by:
In web.config, I can set SessionState mode to "Off" while using Forms
authentication, they have 2 diff mechanisms, is this correct?
| |
by: jensen bredal |
last post by:
Hello,
i was not able to find any documentation about the largest value one can
assign the "timeout" attribute of the
<sessionState section in web.config.
any idea?
|
by: Philipp Schumann |
last post by:
....BUT for _custom_ HttpHandlers. How can I do that?
In my custom IHttpHandler, HttpContext.Current.Session is a null reference,
and I can't use the session state. It is enabled in web.config and
machine.config however, and normal aspx pages can use it just fine.
Here's the call stacks for a standard aspx and my custom http handler
showing how the code needed to enable the session state is missing. However
I don't know how I can make...
|
by: Craig |
last post by:
I'm planning on persisting sessionState in a database (not MS SQL). Is
there a way to do this using the web.config file? I see that you can set
the sessionState mode="SQLServer" to persist to a MS SQL database, but can it
be done somehow while using another database? If not, what are some ideas
for the best way to handle this appropriately? I'm trying to keep the
session information updated in a database, so that other web...
|
by: Krishnan |
last post by:
Hi,
Could anyone please let me know how to read SessionState setting from the
Web.Config file into an ASPNET application?
TIA
Krishnan
|
by: jb |
last post by:
*Please* help --- I'm tearing my hair out.
I want to use sessionstate in a webservice, accessed from a client, written
in script (JScript, InfoPath).
I have written my webservice (C# .NET). I have marked the method(s) with
EnableSession=true. I have read everything there is to read! I am told that
to reuse session, my client needs to receive a cookie in the header from the
webservice and then pass this back in all future calls. ...
|
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...
| |
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,...
|
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...
|
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...
|
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,...
|
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...
|
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...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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
| |