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. please help, session problem.

please help, session problem.

Scheduled Pinned Locked Moved ASP.NET
helpcsharpasp-netdotnetwindows-admin
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.
  • T Offline
    T Offline
    Tek
    wrote on last edited by
    #1

    Hello, I hope somebody can help me with this.... I've got this weird problem... First my ASP.Net document can produce or invoke sessions just like usual. But when I put a web.config file, my computer gives me this message "Session state can only be used when enableSessionState is set to true, either in a configuration file or in the Page directive "..... But even if I put the enableSessionState="True" in both of them, it still doesn't work :-( The problem still exists :-( Help, help ,help!! My session state setting in my web.config file looks like this: And this is how I get one of my sessions: Dim screenname = session("user_screenname") My system: - Windows XP Pro IIS 5.1 - .Net Framework 1.0.3705.0

    C 1 Reply Last reply
    0
    • T Tek

      Hello, I hope somebody can help me with this.... I've got this weird problem... First my ASP.Net document can produce or invoke sessions just like usual. But when I put a web.config file, my computer gives me this message "Session state can only be used when enableSessionState is set to true, either in a configuration file or in the Page directive "..... But even if I put the enableSessionState="True" in both of them, it still doesn't work :-( The problem still exists :-( Help, help ,help!! My session state setting in my web.config file looks like this: And this is how I get one of my sessions: Dim screenname = session("user_screenname") My system: - Windows XP Pro IIS 5.1 - .Net Framework 1.0.3705.0

      C Offline
      C Offline
      ChrisWFL
      wrote on last edited by
      #2

      Make sure your ASP.Net State Service is running. By default it isn't. Check in the Services control panel.

      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