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. sessions

sessions

Scheduled Pinned Locked Moved ASP.NET
databasedesignhelpquestion
6 Posts 4 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.
  • L Offline
    L Offline
    Lost User
    wrote on last edited by
    #1

    hi, can anyone help me on the following? I want to save all the sessions along with its data into sqlserver database. After that I want to fetch n display on UI.

    S R J 3 Replies Last reply
    0
    • L Lost User

      hi, can anyone help me on the following? I want to save all the sessions along with its data into sqlserver database. After that I want to fetch n display on UI.

      S Offline
      S Offline
      Sandeep Akhare
      wrote on last edited by
      #2

      Are you asking for the code ? No you should try this by searching google Any way One way is put the content of the session in dataset and push that dataset in database table.

      Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... "

      1 Reply Last reply
      0
      • L Lost User

        hi, can anyone help me on the following? I want to save all the sessions along with its data into sqlserver database. After that I want to fetch n display on UI.

        R Offline
        R Offline
        rashidpervaiz08
        wrote on last edited by
        #3

        Go to command mode and go \WINDOWS\Microsoft.NET\Framework\v2.0.50727 run aspnet_state.exe with appropiate parameters, then configure your web.config. Muhammad Rashid

        J 1 Reply Last reply
        0
        • R rashidpervaiz08

          Go to command mode and go \WINDOWS\Microsoft.NET\Framework\v2.0.50727 run aspnet_state.exe with appropiate parameters, then configure your web.config. Muhammad Rashid

          J Offline
          J Offline
          John ph
          wrote on last edited by
          #4

          rashidpervaiz08 wrote:

          Go to command mode and go \WINDOWS\Microsoft.NET\Framework\v2.0.50727 run aspnet_state.exe with appropiate parameters, then configure your web.config.

          did you read the post before responding? I don't think this will solve his problem.

          Regards
          J O H N :rose:
          "Even eagles need a push." David McNally


          R 1 Reply Last reply
          0
          • L Lost User

            hi, can anyone help me on the following? I want to save all the sessions along with its data into sqlserver database. After that I want to fetch n display on UI.

            J Offline
            J Offline
            John ph
            wrote on last edited by
            #5

            Create a Table in the SQL Server to store the session values. If you already have one then....otherwise You decide the structure of the table. In the front-end to collect the session values use Session.Keys collection class and add the key and values to the DataTable. store it to the Database. Here is a way how to read the session Values...

            Dim Key, SessionKey, SessionValue As String
            For Each Key In Session.Keys
              SessionKey = Key
              SessionValue = Session(Key)
              'Add the userId, SessionKey and SessionValue to the Table
            Next
            

            Regards
            J O H N :rose:
            "Even eagles need a push." David McNally


            1 Reply Last reply
            0
            • J John ph

              rashidpervaiz08 wrote:

              Go to command mode and go \WINDOWS\Microsoft.NET\Framework\v2.0.50727 run aspnet_state.exe with appropiate parameters, then configure your web.config.

              did you read the post before responding? I don't think this will solve his problem.

              Regards
              J O H N :rose:
              "Even eagles need a push." David McNally


              R Offline
              R Offline
              rashidpervaiz08
              wrote on last edited by
              #6

              so true

              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