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 Woes

Session Woes

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netwindows-adminquestion
3 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
    Andrew S Kloos
    wrote on last edited by
    #1

    We're running asp.net 1.1 on iis 6.0 and we're running into all kinds of problems with our in proc sessions. Last week we had a user that actually had an element another users shopping cart and it did not contain what the user had entered. This week we had two orders come thru with 0 items due to dropped session. The users assured us that they had not been on the website for the alloted session timeout. Nothing changed programmaticly for this section of our site. Any Idears?

    N 1 Reply Last reply
    0
    • A Andrew S Kloos

      We're running asp.net 1.1 on iis 6.0 and we're running into all kinds of problems with our in proc sessions. Last week we had a user that actually had an element another users shopping cart and it did not contain what the user had entered. This week we had two orders come thru with 0 items due to dropped session. The users assured us that they had not been on the website for the alloted session timeout. Nothing changed programmaticly for this section of our site. Any Idears?

      N Offline
      N Offline
      N a v a n e e t h
      wrote on last edited by
      #2

      crazidiamond wrote:

      we had two orders come thru with 0 items due to dropped session.

      This shows your programs loop holes. Don't you validate all these before an order is placed ? What is your actual problem here ? How you are storing shopping details in session ?


      My Website | Ask smart questions

      A 1 Reply Last reply
      0
      • N N a v a n e e t h

        crazidiamond wrote:

        we had two orders come thru with 0 items due to dropped session.

        This shows your programs loop holes. Don't you validate all these before an order is placed ? What is your actual problem here ? How you are storing shopping details in session ?


        My Website | Ask smart questions

        A Offline
        A Offline
        Andrew S Kloos
        wrote on last edited by
        #3

        I was handed an amazingly sloppy site. I've been correcting pieces of it as I go along but their aren't enough hours in the day. Since this issue came up I added some logic to determine if in fact the cart is populated. but the bigger problem is that we show no errors when users are placing items into the cart which is stored in "in proc session" and then at a later time we try to access the session contents and the session is not present. We have a Serializable Cart class and we stored the class instance in session. We also determined that the session was not dropped due to timing out. I'm at a loss...

        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