Results 1 to 7 of 7

Thread: Windows Authentication - Session Time-out

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jan 2008
    Posts
    166

    Windows Authentication - Session Time-out

    Hello, Does Session Time - out is applicable ing Windows authentication?
    If so, in what event can i capture this? Thanks.

  2. #2
    Learning .Net danasegarane's Avatar
    Join Date
    Aug 2004
    Location
    VBForums
    Posts
    5,853

    Re: Windows Authentication - Session Time-out

    Yes. It is applicable the session timeout is applicable to windows authentication also. But the thing is that the server will retain the User.Identity.name as the current user name. I have some read that you need to implement a 404 Filenot found exception
    Please mark you thread resolved using the Thread Tools as shown

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Jan 2008
    Posts
    166

    Re: Windows Authentication - Session Time-out

    In what event can capture if session timeout is raised?

  4. #4
    Learning .Net danasegarane's Avatar
    Join Date
    Aug 2004
    Location
    VBForums
    Posts
    5,853

    Re: Windows Authentication - Session Time-out

    Add the Global.asax file(Right Click project --> Add new item --> Global Configuration File )

    in your application and you need to handle the Session_End Event

    Code:
     Sub Session_End(ByVal sender As Object, ByVal e As EventArgs)
            ' Fires when the session ends
           
        End Sub
    Please mark you thread resolved using the Thread Tools as shown

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Jan 2008
    Posts
    166

    Re: Windows Authentication - Session Time-out

    I already tried that solution. I set my timeout to 10 secs but nothing happened. I am using Windows Authentication.

  6. #6
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: Windows Authentication - Session Time-out

    Where exactly did you set the session timeout?

    Can you show us?

    The Session End event is notorious for not being raised exactly when you think that it should be. Are you debugging directly out of Visual Studio, or have you placed your application under IIS?

    Gary

  7. #7
    Frenzied Member avrail's Avatar
    Join Date
    Mar 2006
    Location
    Egypt, Cairo
    Posts
    1,221

    Re: Windows Authentication - Session Time-out

    hay,
    you need to provide more informations about your problem
    You Don't Have to Rate Me.
    I'm Not a Civilized Man I'm the Civilization it self
    White or Black, Living or Dieing and 0 or 1 that's MY life
    iam an Object in Object Oriented Life
    my blog : http://refateid.blogspot.com/
    twitter :@avrail
    010011000111010101110110001000000100110101111001001000000101000001100011

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width