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. loosing my session object

loosing my session object

Scheduled Pinned Locked Moved Web Development
help
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.
  • C Offline
    C Offline
    cmarmr
    wrote on last edited by
    #1

    i am having a problem with my session object after i build so cookies i loose all the infomation in my session object and i have linked it to the amout of cookies i build when i build 72 cookies i loose my session but if i build only half my session works fine can somebody help me chad

    G 1 Reply Last reply
    0
    • C cmarmr

      i am having a problem with my session object after i build so cookies i loose all the infomation in my session object and i have linked it to the amout of cookies i build when i build 72 cookies i loose my session but if i build only half my session works fine can somebody help me chad

      G Offline
      G Offline
      Guffa
      wrote on last edited by
      #2

      Please use some punctuation when you write. Skipping punctuation reduces the readability more than anything else. You are storing way too much data in cookies. There is a limit for how much you can store in cookies for a site. The limit depends on the browser you are using, but it is always just a few kilobytes. What is probably happening is that you are reaching the limit, so some cookies are discarded. As the session id is also stored in a cookie, you lose it. All the cookies that you create will be sent back to the server in every single request. If you use 2 kb of cookies, that means that every request increases in size by 2 kb. Why are you using so much cookies? --- b { font-weight: normal; }

      C 1 Reply Last reply
      0
      • G Guffa

        Please use some punctuation when you write. Skipping punctuation reduces the readability more than anything else. You are storing way too much data in cookies. There is a limit for how much you can store in cookies for a site. The limit depends on the browser you are using, but it is always just a few kilobytes. What is probably happening is that you are reaching the limit, so some cookies are discarded. As the session id is also stored in a cookie, you lose it. All the cookies that you create will be sent back to the server in every single request. If you use 2 kb of cookies, that means that every request increases in size by 2 kb. Why are you using so much cookies? --- b { font-weight: normal; }

        C Offline
        C Offline
        cmarmr
        wrote on last edited by
        #3

        this site is not mine. i am just trying to add esignature to it.when this site send a user to my esignature site so my document can be signed. I send the user back to the orignal site after the process is complete. Every time the site uses request("varable") after i send the user back it does not work so i stored all the varables as cookies, and when i send them back the site picks up as it should. My opion is this site needs to be rewritten it is very poor programming. chad

        G 1 Reply Last reply
        0
        • C cmarmr

          this site is not mine. i am just trying to add esignature to it.when this site send a user to my esignature site so my document can be signed. I send the user back to the orignal site after the process is complete. Every time the site uses request("varable") after i send the user back it does not work so i stored all the varables as cookies, and when i send them back the site picks up as it should. My opion is this site needs to be rewritten it is very poor programming. chad

          G Offline
          G Offline
          Guffa
          wrote on last edited by
          #4

          How are you supposed to send the values to the site? How is the site recieving the values? If the site is just using Request("variable") to read the values, that sure is poor programming. The request collection reads from server variables, cookies, form data and querystring. It's safer to specify from where the data should be read. Sending the values as cookies is a bad solution, though. If the site is reading values from the Request collection on other pages, you might be causing errors on the site. If the same name is used as in the cookies, the value in the cookies will be read instead of the value in the form data or querystring. You should be trying to find out why you can't send the data using form data or querystring, rather than using cookies. --- b { font-weight: normal; }

          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