T
Todd
I have two secure applications that reside on the same server. I am
still learning .Net as I go, so I could use some help. I want to be
able to login to the first application, then when I have found the
specific piece of info I need, I would like to click a link that would
launch the second application. The second application also has a
security login feature, but by clicking the link I want to pass my
security info from Application 1 to Application 2 - thus allowing the
user to bypass a second login. Basically, login once and jump back
and forth to both applications without ever having to login again
until the user closes their browser. Is this possible?
Both applications make a call to a stored procedure passing in the
username and password. If the values in the DB match what the user
supplied, then a dataset is returned to the application that contians
all the necessary rights for that user. I created an object in .Net
and populate it's properties with the info returned in the dataset.
Then I use a session variable to keep the object in memory. On every
page I go to, before any code executes I check to make sure that the
object exists and the user has the necessary rights to be on that
page. Both applications call the same stored procedure, both return
an identical dataset, and both apps have the same exact user Object
that is kept in the session. I would think with a few tweaks or
adjustments I should be able to have the 1 login, then pass this user
object back and forth (or at least copy it) to each application? Is
this possible? I would prefer to avoid using cookies and would like
to make this object arrangement work between the two apps.
Any help would be appreciated. Thank you.
still learning .Net as I go, so I could use some help. I want to be
able to login to the first application, then when I have found the
specific piece of info I need, I would like to click a link that would
launch the second application. The second application also has a
security login feature, but by clicking the link I want to pass my
security info from Application 1 to Application 2 - thus allowing the
user to bypass a second login. Basically, login once and jump back
and forth to both applications without ever having to login again
until the user closes their browser. Is this possible?
Both applications make a call to a stored procedure passing in the
username and password. If the values in the DB match what the user
supplied, then a dataset is returned to the application that contians
all the necessary rights for that user. I created an object in .Net
and populate it's properties with the info returned in the dataset.
Then I use a session variable to keep the object in memory. On every
page I go to, before any code executes I check to make sure that the
object exists and the user has the necessary rights to be on that
page. Both applications call the same stored procedure, both return
an identical dataset, and both apps have the same exact user Object
that is kept in the session. I would think with a few tweaks or
adjustments I should be able to have the 1 login, then pass this user
object back and forth (or at least copy it) to each application? Is
this possible? I would prefer to avoid using cookies and would like
to make this object arrangement work between the two apps.
Any help would be appreciated. Thank you.