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 variables are getting mixed up when multiple instances of application are opened

session variables are getting mixed up when multiple instances of application are opened

Scheduled Pinned Locked Moved ASP.NET
helptutorialquestion
2 Posts 2 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.
  • C Offline
    C Offline
    crazy_mads
    wrote on last edited by
    #1

    I have developed a website. If i use Internet 7.0 , i am able to open multiple instances of the application and my session variables are getting mixed up. Some one told me that i can Use GUID. Is there any other better method. If i have to use GUID. How to use GUID? Plz help me :( Mads

    G 1 Reply Last reply
    0
    • C crazy_mads

      I have developed a website. If i use Internet 7.0 , i am able to open multiple instances of the application and my session variables are getting mixed up. Some one told me that i can Use GUID. Is there any other better method. If i have to use GUID. How to use GUID? Plz help me :( Mads

      G Offline
      G Offline
      Guffa
      wrote on last edited by
      #2

      It's not very likely that the session variables gets mixed up, it's more likely that you mix up which session each window belongs to. I haven't yet tested exactly how IE 7 handles browser sessions. I know that using IE 6 you can open separate instances of the browser, and each instance is it's own session. You can open several windows from each instance, and each window in one instance belongs to the same session. Using firefox you can only open one instance (trying to open another will open a new window in the same instance), so all windows will be in the same session. The session id is stored as a temporary cookie in the browser instance. You can display the Session.SessionID value in the page during testing, so that you can track what session each window belongs to.

      --- single minded; short sighted; long gone;

      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