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

Session

Scheduled Pinned Locked Moved Web Development
sysadminwindows-adminsecurityhelptutorial
4 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.
  • S Offline
    S Offline
    sctgnn
    wrote on last edited by
    #1

    it seems that the objetc Session is disabled and I cannot use the Session for send and retrive information between ASP pages. the Web Server is IIS 5.1 and Kaspersky internet security 6.0 is running on PC. when I set then variable session for example: session("MySessionvariable") = "Blue" I have no error message, but when I attemp to retrive information for example: response.write session("MySessionvariable") it is empty Thanks -- modified at 9:53 Monday 24th April, 2006

    L 1 Reply Last reply
    0
    • S sctgnn

      it seems that the objetc Session is disabled and I cannot use the Session for send and retrive information between ASP pages. the Web Server is IIS 5.1 and Kaspersky internet security 6.0 is running on PC. when I set then variable session for example: session("MySessionvariable") = "Blue" I have no error message, but when I attemp to retrive information for example: response.write session("MySessionvariable") it is empty Thanks -- modified at 9:53 Monday 24th April, 2006

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

      I think you have to write Session["MySessionVariable"] = "Blue"; not with (

      S 1 Reply Last reply
      0
      • L Larza123

        I think you have to write Session["MySessionVariable"] = "Blue"; not with (

        S Offline
        S Offline
        sctgnn
        wrote on last edited by
        #3

        Thank but when I try to read the value for example Ope_Psw = Session["Ses_Ope_Psw"] I have a compiler error -- modified at 13:15 Tuesday 25th April, 2006

        L 1 Reply Last reply
        0
        • S sctgnn

          Thank but when I try to read the value for example Ope_Psw = Session["Ses_Ope_Psw"] I have a compiler error -- modified at 13:15 Tuesday 25th April, 2006

          L Offline
          L Offline
          Larza123
          wrote on last edited by
          #4

          That is probably because Ope_Psw is a string. Then you have use .ToString() like this: Ope_Psw = Session["Ses_Ope_Psw"].ToString();

          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