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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. I want to dynamically access particular session of the application [Its urgent]

I want to dynamically access particular session of the application [Its urgent]

Scheduled Pinned Locked Moved ASP.NET
24 Posts 6 Posters 1 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.
  • D Dev S

    Hi, First point is this how you are going to notify the user who is already watching the deal(until he refreshes the page). So its better lock it while it is viewed by other and for this create a log in ur db in synchronisation with ur Session variable..

    D Offline
    D Offline
    Dev S
    wrote on last edited by
    #21

    ok it is a pretty difficult task. there is a solution but may its not the be the best one but it will work for u. we reached to the solution that u will get the username of the person viewing the record. then just in some table update a flag for notification with the useraname of viewer. Now add a component in your application that will be called on each page . On that component place a alert message which wil be fired when the flag of the notification table is true. And through ajax get the dataset refreshed after few seconds say 3 sec. Hope now u get the solution...

    1 Reply Last reply
    0
    • D Dev S

      ok it is a pretty difficult task. there is a solution but may its not the be the best one but it will work for u. we reached to the solution that u will get the username of the person viewing the record. then just in some table update a flag for notification with the useraname of viewer. Now add a component in your application that will be called on each page . On that component place a alert message which wil be fired when the flag of the notification table is true. And through ajax get the dataset refreshed after few seconds say 3 sec. Hope now u get the solution... :-D

      H Offline
      H Offline
      hardikr shah
      wrote on last edited by
      #22

      Hey thanks for reply, I think i got solution from your above answer. But can you have any way from which we can make a track of all current user of my application by his identity. thanks and regards, Hardik

      D 1 Reply Last reply
      0
      • H hardikr shah

        Hey thanks for reply, I think i got solution from your above answer. But can you have any way from which we can make a track of all current user of my application by his identity. thanks and regards, Hardik

        D Offline
        D Offline
        Dev S
        wrote on last edited by
        #23

        if u are using some login system in your application then it is very easy to track users otherwise there are some commands in c# to get ip address of the user(but it is not much suitable for u.)

        H 1 Reply Last reply
        0
        • D Dev S

          if u are using some login system in your application then it is very easy to track users otherwise there are some commands in c# to get ip address of the user(but it is not much suitable for u.)

          H Offline
          H Offline
          hardikr shah
          wrote on last edited by
          #24

          ok thanks a lot to help me for finding proper solution of my problem.

          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