Forum Themes:
Welcome !

initial logon screen

Author Message
ctrunk514

  • Total Posts : 47
  • Reward points : 1955
  • Joined: Dec 21 '10
  • Location: Denver, CO
  • Status: offline
initial logon screen Wed. Jan 19, '11 12:55 PM (permalink)
0
[Helpful answer received] / [List Solutions Only]
We have aspplayground configured for Windows Authentication without AD membership provider.  (http://www.aspplayground.net/forum/Windows-Authentication-without-AD-membership-provider-m405476.aspx) .  We are having an issue where when we 1st go to the forum site it shows the log in screen.  If we simply click on “All Forums” it allows us in using windows authentication and from there on we are able to use the site as expected.  How can we eliminate this initial logon screen?
 
#1
Samuel

  • Total Posts : 11857
  • Reward points : 180790
  • Joined: May 23 '01
  • Status: offline
Re: initial logon screen Wed. Jan 19, '11 2:18 PM (permalink)
0
you shouldn't have to do so. Do you have the server settings set exactly as in the article? Or did you add any additional settings to the software's web.config file?
ASPPlayground.NET
~ see our Version 4 plans here

 
#2
Guest
Re: initial logon screen Wed. Jan 19, '11 2:26 PM (permalink)
0
The web.confg file should be default

<message edited by Samuel on Wed. Jan 19, '11 2:46 PM>
 
#3
    Guest
    Re: initial logon screen Wed. Jan 19, '11 2:27 PM (permalink)
    0
    We are getting the alert in IIS:
    Challenge-based and login redirect-based authentication cannot be used simultaneously.
    Which is concerning.
     
    #4
      Samuel

      • Total Posts : 11857
      • Reward points : 180790
      • Joined: May 23 '01
      • Status: offline
      Re: initial logon screen Wed. Jan 19, '11 2:37 PM (permalink)
      0
      [This post was marked as helpful]
      Don't worry about the warning. It is not a supported scenario, but at this moment the easiest way to handle AD authentication.
       
      About the issue: at this moment, I am unable to reproduce the problem. but we can make it less bothering for your users by changing a line of code in default.aspx.vb
       
      Look for
      FormsAuthentication.SetAuthCookie(strUsrNm, False)

      Change it to
      FormsAuthentication.SetAuthCookie(strUsrNm, True)

      This way, your user will only be redirected when they first visit the forum and this will not happen again for example when they visit the forum the second day.
      <message edited by Samuel on Wed. Jan 19, '11 5:04 PM>
      ASPPlayground.NET
      ~ see our Version 4 plans here

       
      #5
      ctrunk514

      • Total Posts : 47
      • Reward points : 1955
      • Joined: Dec 21 '10
      • Location: Denver, CO
      • Status: offline
      Re: initial logon screen Wed. Jan 19, '11 2:45 PM (permalink)
      0
      I am not seeing that code in my default.aspx file?  What am I doing wrong?
       
      #6
      Samuel

      • Total Posts : 11857
      • Reward points : 180790
      • Joined: May 23 '01
      • Status: offline
      Re: initial logon screen Wed. Jan 19, '11 2:47 PM (permalink)
      0
      sorry, typo: it should be default.aspx.vb . I am referring to the code you added yourself based on my article to achieve Windows authentication.
      ASPPlayground.NET
      ~ see our Version 4 plans here

       
      #7
      ctrunk514

      • Total Posts : 47
      • Reward points : 1955
      • Joined: Dec 21 '10
      • Location: Denver, CO
      • Status: offline
      Re: initial logon screen Wed. Jan 19, '11 2:54 PM (permalink)
      0
      Ok got it.  That seemed to do the trick, thank you. 
       
      We are still evaluating your software but so far so good.  My users are picky so we may have a few more questions.  Thank you for the help.
       
      #8
      Online Bookmarks Sharing: Share/Bookmark

      Jump to:

      Current active users

      There are 0 members and 1 guests.

      Icon Legend and Permission

      • New Messages
      • No New Messages
      • Hot Topic w/ New Messages
      • Hot Topic w/o New Messages
      • Locked w/ New Messages
      • Locked w/o New Messages
      • Read Message
      • Post New Thread
      • Reply to message
      • Post New Poll
      • Submit Vote
      • Post reward post
      • Delete my own posts
      • Delete my own threads
      • Rate post

      2000-2012 ASPPlayground.NET Forum Version 3.9