There is two separate issues here IMO...
Try :
http://msdn.microsoft.com/library/de...plications.asp
It should show how to share the ASP.NET Form authentication between several
applications and/or servers...
This is just for the authentication part.
Now for the session variables themselves you have several options :
- having a DB (such as now ? not clear if it is for session variables or
just to implement SSO)
- using the ASP.NET State Server (both are supported by changing the .NET
configuration file)
Note that the option of having each application using its own unique set of
session variables is not always obviously out. For example if each
application only need its own variables and perhaps uses only few mainly
"readonly" ones (such as a user id or stuff like that), it could still work
even though session variables are not shared accross applications...
In all cases, IMO it's not needed to read variables accross sessions. You
just need to access the current session.
Patrice
--
"Oleg Ogurok" <ol**@ogurok.com.ihatespammers.ireallydo.co> a écrit dans le
message de news:11*************@corp.supernews.com...
Thanks Patrice,
I'm trying to come up with a better way to authenticate a user across
different web applications from a central place. E.g. people accessing
app2 and app3 will be redirected to authenticate with app1 if their session
expires. I'm passing encrypted SessionID within URL when redirecting users
between applications.
Right now I have a separate DB table with sessions. I'm wondering if there
is a way to reuse the existing ASP.NET functionality related to
Sessions/Forms Authentication.
"Patrice" <no****@nowhere.com> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl... What is the goal from a non technical point of view ? Knowing the whole
picture may sometimes yield to better suggestions...
What kind of particular information do you need for all users ?
Patrice
--
"Oleg Ogurok" <ol**@ogurok.com.ihatespammers.ireallydo.co> a écrit dans
le message de news:11*************@corp.supernews.com... Hi all,
Is there a way to read other people's session variables?
I understand it makes sense that session state is on per-user basis,
but still...
Is there a way to get a collection of all current HttpSessionState
objects
on the server, or at least get a reference to a HttpSessionState
objects by session ID ?
Thanks.
-Oleg.