Click here to Skip to main content
15,888,351 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Returning to Main Form Pin
Luc Pattyn23-Jul-07 11:55
sitebuilderLuc Pattyn23-Jul-07 11:55 
AnswerRe: Returning to Main Form Pin
Ky Nam23-Jul-07 15:29
Ky Nam23-Jul-07 15:29 
Questioncomapring sorted list Pin
captainmogo23-Jul-07 10:13
captainmogo23-Jul-07 10:13 
AnswerRe: comapring sorted list Pin
Guffa23-Jul-07 12:16
Guffa23-Jul-07 12:16 
GeneralRe: comapring sorted list Pin
captainmogo25-Jul-07 3:53
captainmogo25-Jul-07 3:53 
AnswerRe: comapring sorted list Pin
Guffa25-Jul-07 4:07
Guffa25-Jul-07 4:07 
QuestionSingle Sign On (SSO) Pin
Ridge Howison23-Jul-07 9:41
Ridge Howison23-Jul-07 9:41 
AnswerRe: Single Sign On (SSO) Pin
Naji El Kotob23-Jul-07 10:08
Naji El Kotob23-Jul-07 10:08 
Hi,

On the root add a config file with the following:
<authentication mode="Forms">
<forms name=".MyAppFormName"
="" loginurl="login.aspx" defaulturl="Apps/welcomepage.aspx" cookieless="AutoDetect">



/authentication
authorization
allow users="*" /
/authorization

in the protected areas (e.g. Apps) add a web.config file with the following:

authorization
deny users="?" /
/authorization


In the login form:
Check your SQL database...

IF it's OK - > FormsAuthentication.RedirectFromLoginPage(txtUsername.Text, False)

Hope this helps Wink | ;)



NajiCo http://www.InsideVB.NET[^]

It's nice 2b important, but it's more important 2b nice...

QuestionMapping opinions Pin
Tom Wright23-Jul-07 8:39
Tom Wright23-Jul-07 8:39 
QuestionHow to communitcate to a port. Pin
Cory Kimble23-Jul-07 8:39
Cory Kimble23-Jul-07 8:39 
AnswerRe: How to communitcate to a port. Pin
Dave Kreskowiak23-Jul-07 9:14
mveDave Kreskowiak23-Jul-07 9:14 
GeneralRe: How to communitcate to a port. Pin
Cory Kimble23-Jul-07 9:30
Cory Kimble23-Jul-07 9:30 
GeneralRe: How to communitcate to a port. Pin
Dave Kreskowiak23-Jul-07 9:48
mveDave Kreskowiak23-Jul-07 9:48 
GeneralRe: How to communitcate to a port. Pin
Luc Pattyn23-Jul-07 10:09
sitebuilderLuc Pattyn23-Jul-07 10:09 
Questionmouse button routines [modified] Pin
farah mazhar23-Jul-07 7:30
farah mazhar23-Jul-07 7:30 
AnswerRe: mouse button routines Pin
Dave Kreskowiak23-Jul-07 7:44
mveDave Kreskowiak23-Jul-07 7:44 
GeneralRe: mouse button routines Pin
Paul Conrad23-Jul-07 11:53
professionalPaul Conrad23-Jul-07 11:53 
GeneralRe: mouse button routines Pin
Dave Kreskowiak23-Jul-07 12:11
mveDave Kreskowiak23-Jul-07 12:11 
JokeRe: mouse button routines Pin
Paul Conrad23-Jul-07 12:14
professionalPaul Conrad23-Jul-07 12:14 
AnswerBad user! Pin
leckey23-Jul-07 8:27
leckey23-Jul-07 8:27 
GeneralRe: Bad user! Pin
Paul Conrad23-Jul-07 11:51
professionalPaul Conrad23-Jul-07 11:51 
Questionopening a pdf with vb6 Pin
reegan4123-Jul-07 6:11
reegan4123-Jul-07 6:11 
AnswerRe: opening a pdf with vb6 Pin
Dave Kreskowiak23-Jul-07 6:47
mveDave Kreskowiak23-Jul-07 6:47 
GeneralRe: opening a pdf with vb6 Pin
reegan4123-Jul-07 7:37
reegan4123-Jul-07 7:37 
GeneralRe: opening a pdf with vb6 Pin
Dave Kreskowiak23-Jul-07 7:41
mveDave Kreskowiak23-Jul-07 7:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.