asp.net application ...Session problem

Discussion in 'C#' started by i_am_dhaval, Jul 21, 2009.

  1. #1
    i have develop asp.net application.

    there is one login screen

    i will enter login detail

    but in few second if i not use application i am logout ..or you can say session is out.

    how can i solve this problem?
     
    i_am_dhaval, Jul 21, 2009 IP
  2. usdevelopersjournal

    usdevelopersjournal Guest

    Messages:
    5
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    i have develop my asp.net application there is one register screen i will enter but not register which kind of problem create please sir know me.
     
    usdevelopersjournal, Jul 23, 2009 IP
  3. kdsk_222

    kdsk_222 Peon

    Messages:
    7
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    you can always set the logout time for a session!
    there is also a session.abandon() funcn to terminate the session.
    also the default timeout is 20 mins!
    gud luck.


    PM me if you want me for forum posting!
     
    kdsk_222, Jul 23, 2009 IP
  4. camjohnson95

    camjohnson95 Active Member

    Messages:
    737
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    60
    #4
    post the code
     
    camjohnson95, Jul 24, 2009 IP
  5. certifications4you

    certifications4you Peon

    Messages:
    32
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    check your web.config file.
    <session timeout=""/> check the time here
     
    certifications4you, Jul 28, 2009 IP