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. problem of storing data in the session

problem of storing data in the session

Scheduled Pinned Locked Moved ASP.NET
securityhelp
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.
  • A Offline
    A Offline
    Abhishek Joshi
    wrote on last edited by
    #1

    I’ve added namespace System.Web.Security in the forms of my application. I use it for Forms Authentication functionality. Because of it, while redirection to another page the information stored in the session is deleted. I’ve also used method of FormsAuthentication class to redirect to another page. Still it is not storing data in the session. Please tell me the solution on this. :confused::confused:

    #Abhi#

    P 1 Reply Last reply
    0
    • A Abhishek Joshi

      I’ve added namespace System.Web.Security in the forms of my application. I use it for Forms Authentication functionality. Because of it, while redirection to another page the information stored in the session is deleted. I’ve also used method of FormsAuthentication class to redirect to another page. Still it is not storing data in the session. Please tell me the solution on this. :confused::confused:

      #Abhi#

      P Offline
      P Offline
      Pete OHanlon
      wrote on last edited by
      #2

      Where is your session state being held? If you are using In-proc on a multi-processor machine or against multiple servers then you will find this problem. Change the session state to use the ASP State Server to sort this out. This is an example: <sessionState mode="StateServer" stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="data source=127.0.0.1;Trusted_Connection=yes" cookieless="false" timeout="20"/>

      the last thing I want to see is some pasty-faced geek with skin so pale that it's almost translucent trying to bump parts with a partner - John Simmons / outlaw programmer
      Deja View - the feeling that you've seen this post before.

      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