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 Values Lost when opening a popup window

Session Values Lost when opening a popup window

Scheduled Pinned Locked Moved ASP.NET
sysadmin
3 Posts 2 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.
  • K Offline
    K Offline
    Krrish
    wrote on last edited by
    #1

    I am trying to use a popup screen to populate some of the values of user defined object, to be clear i want to set obj.value1 to obj.value5 in parent form and obj.value6 to obj.value10 in the popup window session data is stored in state server but when i open the popup window the values set in parent window are not present can any one suggest me a better way to acheive this functionality Thanks in advance

    Krishna

    L 1 Reply Last reply
    0
    • K Krrish

      I am trying to use a popup screen to populate some of the values of user defined object, to be clear i want to set obj.value1 to obj.value5 in parent form and obj.value6 to obj.value10 in the popup window session data is stored in state server but when i open the popup window the values set in parent window are not present can any one suggest me a better way to acheive this functionality Thanks in advance

      Krishna

      L Offline
      L Offline
      linpihong
      wrote on last edited by
      #2

      if you popup window in client side use javascript or vbscript, you cann't get the object value in session for the parent page. you must post back the page and get the object value in session.

      K 1 Reply Last reply
      0
      • L linpihong

        if you popup window in client side use javascript or vbscript, you cann't get the object value in session for the parent page. you must post back the page and get the object value in session.

        K Offline
        K Offline
        Krrish
        wrote on last edited by
        #3

        Thanks for the response,Can you please explain with a simple example currently am using javascript to open the popup window

        Krishna

        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