Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Session

Session

Scheduled Pinned Locked Moved ASP.NET
csharphelpquestionasp-net
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    Burim Rama
    wrote on last edited by
    #1

    Hey Please help me. i have a login page and when user try to logon on webpage i save userId in session and i check if session is null then redirect to login else stay. But i have that problem at if user not move the mouse or not are front the computer about 2 minutes , the session redirct to login page ? how can i disiable that funktion or what can i do . the application is writen in C# asp.net Thanks very mutch. Sorry my english.

    S B 3 Replies Last reply
    0
    • B Burim Rama

      Hey Please help me. i have a login page and when user try to logon on webpage i save userId in session and i check if session is null then redirect to login else stay. But i have that problem at if user not move the mouse or not are front the computer about 2 minutes , the session redirct to login page ? how can i disiable that funktion or what can i do . the application is writen in C# asp.net Thanks very mutch. Sorry my english.

      S Offline
      S Offline
      Shaik Haneef
      wrote on last edited by
      #2

      i think it not possible it is possible to decrease session or increase session in web.config at your connection string...... your can increase or decrease the TimeOut optin.........

      send feed back to sk.haneef@gmail.com

      B 1 Reply Last reply
      0
      • S Shaik Haneef

        i think it not possible it is possible to decrease session or increase session in web.config at your connection string...... your can increase or decrease the TimeOut optin.........

        send feed back to sk.haneef@gmail.com

        B Offline
        B Offline
        Burim Rama
        wrote on last edited by
        #3

        thank you. But how can i do it ? do you have any idea?

        1 Reply Last reply
        0
        • B Burim Rama

          Hey Please help me. i have a login page and when user try to logon on webpage i save userId in session and i check if session is null then redirect to login else stay. But i have that problem at if user not move the mouse or not are front the computer about 2 minutes , the session redirct to login page ? how can i disiable that funktion or what can i do . the application is writen in C# asp.net Thanks very mutch. Sorry my english.

          S Offline
          S Offline
          Shaik Haneef
          wrote on last edited by
          #4

          i think it not possible it is possible to decrease session or increase session in web.config at your connection string...... add name="TRDConnectionString" connectionString="Data Source=(local);Initial Catalog=Trade;User ID=123;Password=123;timeout=60" providerName="System.Data.SqlClient" your can increase or decrease the TimeOut optin.........

          send feed back to sk.haneef@gmail.com

          1 Reply Last reply
          0
          • B Burim Rama

            Hey Please help me. i have a login page and when user try to logon on webpage i save userId in session and i check if session is null then redirect to login else stay. But i have that problem at if user not move the mouse or not are front the computer about 2 minutes , the session redirct to login page ? how can i disiable that funktion or what can i do . the application is writen in C# asp.net Thanks very mutch. Sorry my english.

            B Offline
            B Offline
            bokuceres
            wrote on last edited by
            #5

            Hello, I forget the what code looks like, but it is do-able. You can search at google, with keyword "setting session in web config asp.net". I'm sorry, but i really forget. :p

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups