J
Jason Shohet
Perhaps an asp.net question but involves c# classes so I'd rather ask this
here. Here goes:
Lets say I have an asp.net app called Logon. When a user logs on in Logon,
a User class is populated with his / her name, department etc. After the
user has logged in I present him with a page that lets him go to other
websites -- app1 & app2.
The problem is when he is redirected over to app1 or app2, I want that User
class to come with him! Because the User class will tell me what kind of
user he is, permissions etc. I don't want to make him log on again. I want
to look at the User class that was populated in the previous application,
Logon. I just don't know the best way to transfer a class from 1 asp.net
application to another, or if there's a better architecture for this kind of
thing.
Basically if someone logs on thru our Logon app, every other app we redirect
him to should be able to interrogate the User class to find out what this
user can do in the application.
TY for any advice
Jason Shohet
here. Here goes:
Lets say I have an asp.net app called Logon. When a user logs on in Logon,
a User class is populated with his / her name, department etc. After the
user has logged in I present him with a page that lets him go to other
websites -- app1 & app2.
The problem is when he is redirected over to app1 or app2, I want that User
class to come with him! Because the User class will tell me what kind of
user he is, permissions etc. I don't want to make him log on again. I want
to look at the User class that was populated in the previous application,
Logon. I just don't know the best way to transfer a class from 1 asp.net
application to another, or if there's a better architecture for this kind of
thing.
Basically if someone logs on thru our Logon app, every other app we redirect
him to should be able to interrogate the User class to find out what this
user can do in the application.
TY for any advice
Jason Shohet