Friday, March 16, 2012

members only page

I have completed a website, and now want to integrate logon control, with access to various pages dependant upon login status. I looked at the instructions for a memberspage folder and tried to investigate this with the clubwebsite tutorial, downloaded from asp.net. It has pages shown dependant upon login in, but no "Memberspage" folders. How is this done?

Many thanks.

What I usually do is

If

Not Page.User.IsInRole("groupName")Then

Response.Redirect(

"Unauthorized.aspx")EndIf


Hi,

That cracked it - thank you.

0 comments:

Post a Comment