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. Temporary Internet Files(urgent)

Temporary Internet Files(urgent)

Scheduled Pinned Locked Moved ASP.NET
csssysadminhelpquestion
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.
  • H Offline
    H Offline
    hemant kaushal
    wrote on last edited by
    #1

    In my application css file for page is genrating at run time . Now when i made some changes old file is get deleted and new file is created. Problem is that css which is getting applied on page is previous one as it get stored on client machine in Temporary Internet Files. Name of file has to be same otherwise useless files will get stored on server. How can i apply newly genrated css file which is stored on server. Thanks in advance. :)

    G 1 Reply Last reply
    0
    • H hemant kaushal

      In my application css file for page is genrating at run time . Now when i made some changes old file is get deleted and new file is created. Problem is that css which is getting applied on page is previous one as it get stored on client machine in Temporary Internet Files. Name of file has to be same otherwise useless files will get stored on server. How can i apply newly genrated css file which is stored on server. Thanks in advance. :)

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

      Add a random parameter to the url: MyStyle.css?t=9838459873645 That will make the url unique each time and load the file from the server every time. This of course removes any advantage of having a css file in the first place, so you can just as well put the style in the page instead.

      --- b { font-weight: normal; }

      H 1 Reply Last reply
      0
      • G Guffa

        Add a random parameter to the url: MyStyle.css?t=9838459873645 That will make the url unique each time and load the file from the server every time. This of course removes any advantage of having a css file in the first place, so you can just as well put the style in the page instead.

        --- b { font-weight: normal; }

        H Offline
        H Offline
        hemant kaushal
        wrote on last edited by
        #3

        Thanks, But i can't use response.redirect.

        G 1 Reply Last reply
        0
        • H hemant kaushal

          Thanks, But i can't use response.redirect.

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

          What was it in my post that did make you think that you should use Response.Redirect?

          --- 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