Common Login page across multiple web applications on the same domain

  • Thread starter Thread starter ngodugu
  • Start date Start date
Hi All,
I thought I would share my solution to this issue.
At the suggestion of a friend I did the following:
Changed by web.config settings to the same as the once specified in the
link in my previous post.
Also, I changed the login functionality to store the userid in the
cookie.
I created a Base page, in the page load of the base page, I check for
session variables and if they are not there, I retrieve the cookie and
the userkey from it. I use the userkey to load the session variable
values from the DB.
I inherited the base page in all of my main pages and you need to the
following line in the page_load function of each page

base.Page_Load(sender,e);

Hope it helps somebody.

Thanks
Neelima
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top