how to use Single Login.

Posted by Jayakumars under ASP.NET on 1/19/2012 | Points: 10 | Views : 1327 | Status : [Member] [MVP] | Replies : 1
hi

I have in my website design iframe load more than iframe and load urls here i need how to inlcude registered person only allow show my page how will do this.

Mark as Answer if its helpful to you


Responses

Posted by: Prabhakar on: 1/19/2012 [Member] [MVP] Starter | Points: 25

Up
0
Down
Hi jayakumars


if u want , restrict user .. not viewed without registration so check session or cookies value on page load . .


 if (Request.Cookies["login"] == null)

{
Response.Redirect("~/login.aspx?msg=Please login through your Login-ID and Password");
}




Best Regard's
Prabhakar

Jayakumars, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response