+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / sitefinity loging for non-sitefinity page

sitefinity loging for non-sitefinity page

4 posts, 0 answered
  1. humayoo
    humayoo avatar
    89 posts
    Registered:
    25 Oct 2010
    04 Apr 2011
    Link to this post
    Hi,

    i have two website. one of website is built using sitefinity and another  is not using sitefinity.

    but i want to use sitefinity login for non-sitefinity website. when user browser non-sitefinity web site,he must get sitefinity login page, he must give sitefinity user name and password, if login success, user view non sitefinity website.

    how can we do this ? please provide any example ,idea etc ?


    thanks
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    04 Apr 2011
    Link to this post
    Hi humayoo,

    One of the options is using your membership provider with Sitefinity. This is possible if you the standard ASP.NET Membership provider. In the code behind of the login form you can check from where the request comes from, so you can return the users back to the other website.

    Regards,
    Ivan Dimitrov
    the Telerik team

  3. humayoo
    humayoo avatar
    89 posts
    Registered:
    25 Oct 2010
    04 Apr 2011
    Link to this post
    Hi,

    i am using my membership provider with Sitefinity. then how can i check user is logged in or not in non sitefinity page?

    please provide me some example.

    thanks
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    04 Apr 2011
    Link to this post
    Hi humayoo,

    You can check whether there is authentication cookie or you can inject your own cookie which will be used as an identifier.You can do this inside Sitefinity/Login.aspx

    Greetings,
    Ivan Dimitrov
    the Telerik team

Register for webinar
4 posts, 0 answered