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 ID

Session ID

Scheduled Pinned Locked Moved ASP.NET
questionsecuritysales
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.
  • S Offline
    S Offline
    Sarfaraj Ahmed
    wrote on last edited by
    #1

    Hello Everybody i kept the following code into web.config

    <authentication>>

    and my login.vb as follows

    FormsAuthentication.RedirectFromLoginPage(_loginCheck.memberID, False)

    I am developing an online ordering system but Im a bit confused, why I am confused? I am using a session table to keep order information. At the same time more customer logged in into system and adding product into shopping basket. My question is.. Wheather customer will share the same session table or diffrent session table will be create for diffrent customer? Thanks in Advance

    Sarfarj Ahmed

    N 1 Reply Last reply
    0
    • S Sarfaraj Ahmed

      Hello Everybody i kept the following code into web.config

      <authentication>>

      and my login.vb as follows

      FormsAuthentication.RedirectFromLoginPage(_loginCheck.memberID, False)

      I am developing an online ordering system but Im a bit confused, why I am confused? I am using a session table to keep order information. At the same time more customer logged in into system and adding product into shopping basket. My question is.. Wheather customer will share the same session table or diffrent session table will be create for diffrent customer? Thanks in Advance

      Sarfarj Ahmed

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

      Sessions will not be shared. So each customer will have their own session. Having said that, keeping shopping cart information in session is not a neat idea. Better way would be to create a table in your database and keep it there. Once the order is placed, remove the data from this table. Keep the shopping cart identifier in session, so you can access the shopping cart data from table using this identifier. :)

      Navaneeth How to use google | Ask smart questions

      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