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. Want to store HTML File in cookie

Want to store HTML File in cookie

Scheduled Pinned Locked Moved Web Development
htmlhelptutorialquestion
4 Posts 3 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
    Amjath Rahman
    wrote on last edited by
    #1

    Hi All, Is it possible to store HTML file inside a cookie. I'm try to store 1 big html file in cookie but it store only that '' tag alone, and delete all r cookies which were previously created. plz help me out how to proceed now....???? With Regards Amjath

    P S 2 Replies Last reply
    0
    • A Amjath Rahman

      Hi All, Is it possible to store HTML file inside a cookie. I'm try to store 1 big html file in cookie but it store only that '' tag alone, and delete all r cookies which were previously created. plz help me out how to proceed now....???? With Regards Amjath

      P Offline
      P Offline
      Paddy Boyd
      wrote on last edited by
      #2

      Why would you want to do this??

      A 1 Reply Last reply
      0
      • P Paddy Boyd

        Why would you want to do this??

        A Offline
        A Offline
        Amjath Rahman
        wrote on last edited by
        #3

        Because i always want to load the page from cache not from the server. if page not found in cache then only i have to fetch the page from server. i dont know how to do this, thats why im planing to keep the page in cookie and load from there.... plz guide me.... My requirement... Always load the page from cache(.bmp, .css, .js) is it possible...??? how can i force the browser to always take the file from cache. my using only html and javascript. With Regards Amjath

        1 Reply Last reply
        0
        • A Amjath Rahman

          Hi All, Is it possible to store HTML file inside a cookie. I'm try to store 1 big html file in cookie but it store only that '' tag alone, and delete all r cookies which were previously created. plz help me out how to proceed now....???? With Regards Amjath

          S Offline
          S Offline
          Shog9 0
          wrote on last edited by
          #4

          Amjath Rahman wrote:

          Is it possible to store HTML file inside a cookie.

          No. You don't want to do that anyway. Google "cache-control".

          ----

          ...the wind blows over it and it is gone, and its place remembers it no more...

          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