Changes to .asp file not updated to web

Discussion in 'ASP General' started by kyle, Nov 5, 2003.

  1. kyle

    kyle Guest

    If the developers make changes to .htm files the saved
    changes are updated to the web instantly, but if they
    change a .asp file the change does not show on the site,
    why is this?

    please help

    thank you
     
    kyle, Nov 5, 2003
    #1
    1. Advertising

  2. kyle

    Ray at Guest

    That is not what is really happening. Computers do what they are told to
    do, so I'd say that the user is not telling a computer the right thing,
    whether it's the computer that's supposed to save the file, upload it, load
    the page (not from cache), etc.

    Ray at work

    "kyle" <> wrote in message
    news:039b01c3a3c7$db3fd980$...
    > If the developers make changes to .htm files the saved
    > changes are updated to the web instantly, but if they
    > change a .asp file the change does not show on the site,
    > why is this?
    >
    > please help
    >
    > thank you
    >
     
    Ray at, Nov 5, 2003
    #2
    1. Advertising

  3. kyle

    kyle Guest

    let me start this over

    I can watch one of the developers open a .asp file in
    FrontPage, make a change, save it back to the location it
    was opened from x:\IntPub\<pagename>.com\www\<filename>.asp
    But when I go to the webserver and open the IIS mmc, and
    look at the <filename>.asp file uner <pagename>.com it is
    not updated, and if browsed from the internet the site
    still shows the old content on that page

    But if on the webserver I go to
    x:\IntPub\<pagename>.com\www using windows explorer I see
    that the file is stamped with a date and time that match
    the change, I can open the file from this location in IE
    and see the change, and open the file in a text editor and
    see the change made in the code

    This is not the case with .htm files in the same
    x:\IntPub\<pagename>.com\www any changes made to these
    files post to the internet




    >-----Original Message-----
    >That is not what is really happening. Computers do what

    they are told to
    >do, so I'd say that the user is not telling a computer

    the right thing,
    >whether it's the computer that's supposed to save the

    file, upload it, load
    >the page (not from cache), etc.
    >
    >Ray at work
    >
    >"kyle" <> wrote in

    message
    >news:039b01c3a3c7$db3fd980$...
    >> If the developers make changes to .htm files the saved
    >> changes are updated to the web instantly, but if they
    >> change a .asp file the change does not show on the site,
    >> why is this?
    >>
    >> please help
    >>
    >> thank you
    >>

    >
    >
    >.
    >
     
    kyle, Nov 5, 2003
    #3
  4. Kyle,
    There are 2 places caching is occurring that can cause this problem:
    First place is on the client's computer. To fix it go in IE to "Tools-->
    Internet Options --> General Tab" and click the "Settings" button under the
    "Temporary Internet Files" section. Under "Check for newer versions of
    stored pages", select "Every visit to the page"

    The second place is in IIS on the server. To fix this:
    Open Administrative Tools --> IIS and navigate and select the web
    application. --> Right-click --> properties. Click the "configuration"
    button on the "Directory" tab. On the window that appears select the "Cache
    Options" tab. Select the "do not cache ASP files" option.
    Mike

    "Peter Foti" <> wrote in message
    news:...
    > "kyle" <> wrote in message
    > news:042201c3a3cd$4f7a63b0$...
    > > let me start this over
    > >
    > > I can watch one of the developers open a .asp file in
    > > FrontPage, make a change, save it back to the location it
    > > was opened from x:\IntPub\<pagename>.com\www\<filename>.asp
    > > But when I go to the webserver and open the IIS mmc, and
    > > look at the <filename>.asp file uner <pagename>.com it is
    > > not updated, and if browsed from the internet the site
    > > still shows the old content on that page
    > >
    > > But if on the webserver I go to
    > > x:\IntPub\<pagename>.com\www using windows explorer I see
    > > that the file is stamped with a date and time that match
    > > the change, I can open the file from this location in IE
    > > and see the change, and open the file in a text editor and
    > > see the change made in the code
    > >
    > > This is not the case with .htm files in the same
    > > x:\IntPub\<pagename>.com\www any changes made to these
    > > files post to the internet

    >
    > It could be a caching issue. I think that if you append some querystring
    > variables, you might be able to get around the caching. For example:
    > http://host/filename.asp?somefakevar=1
    >
    > See if that does anything for you. If so, then it's probably just a

    matter
    > of the page being cached (in the browser or at some proxy between your
    > browser and the webserver). If not, then I'm not sure what to tell you...
    > it might still be a caching issue (I'm not sure if this method will

    actually
    > get around caching issues, but I thought I read once long ago that it
    > could).
    >
    > Hope this helps.
    > Peter Foti
    >
    >
     
    Lord Unspecified, Nov 5, 2003
    #4
  5. kyle

    Guest Guest

    Will I have to re-start IIS if I make the change you
    described in the second option?

    thank you


    >-----Original Message-----
    >Kyle,
    >There are 2 places caching is occurring that can cause

    this problem:
    >First place is on the client's computer. To fix it go in

    IE to "Tools-->
    >Internet Options --> General Tab" and click

    the "Settings" button under the
    >"Temporary Internet Files" section. Under "Check for

    newer versions of
    >stored pages", select "Every visit to the page"
    >
    >The second place is in IIS on the server. To fix this:
    >Open Administrative Tools --> IIS and navigate and select

    the web
    >application. --> Right-click --> properties. Click

    the "configuration"
    >button on the "Directory" tab. On the window that appears

    select the "Cache
    >Options" tab. Select the "do not cache ASP files" option.
    >Mike
    >
    >"Peter Foti" <> wrote in

    message
    >news:...
    >> "kyle" <> wrote in

    message
    >> news:042201c3a3cd$4f7a63b0$...
    >> > let me start this over
    >> >
    >> > I can watch one of the developers open a .asp file in
    >> > FrontPage, make a change, save it back to the

    location it
    >> > was opened from

    x:\IntPub\<pagename>.com\www\<filename>.asp
    >> > But when I go to the webserver and open the IIS mmc,

    and
    >> > look at the <filename>.asp file uner <pagename>.com

    it is
    >> > not updated, and if browsed from the internet the site
    >> > still shows the old content on that page
    >> >
    >> > But if on the webserver I go to
    >> > x:\IntPub\<pagename>.com\www using windows explorer I

    see
    >> > that the file is stamped with a date and time that

    match
    >> > the change, I can open the file from this location in

    IE
    >> > and see the change, and open the file in a text

    editor and
    >> > see the change made in the code
    >> >
    >> > This is not the case with .htm files in the same
    >> > x:\IntPub\<pagename>.com\www any changes made to these
    >> > files post to the internet

    >>
    >> It could be a caching issue. I think that if you

    append some querystring
    >> variables, you might be able to get around the

    caching. For example:
    >> http://host/filename.asp?somefakevar=1
    >>
    >> See if that does anything for you. If so, then it's

    probably just a
    >matter
    >> of the page being cached (in the browser or at some

    proxy between your
    >> browser and the webserver). If not, then I'm not sure

    what to tell you...
    >> it might still be a caching issue (I'm not sure if this

    method will
    >actually
    >> get around caching issues, but I thought I read once

    long ago that it
    >> could).
    >>
    >> Hope this helps.
    >> Peter Foti
    >>
    >>

    >
    >
    >.
    >
     
    Guest, Nov 6, 2003
    #5
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Newsguy
    Replies:
    4
    Views:
    420
    Gary Dale
    Oct 22, 2005
  2. brad
    Replies:
    2
    Views:
    432
  3. Ingvar Nilsen

    How to make changes made to a component be updated immediately

    Ingvar Nilsen, Dec 20, 2004, in forum: ASP .Net Building Controls
    Replies:
    3
    Views:
    109
    John Saunders
    Dec 20, 2004
  4. Dmitry Korolyov

    Datagrid not updated during delete, but updated during insert and update

    Dmitry Korolyov, Sep 22, 2003, in forum: ASP .Net Datagrid Control
    Replies:
    0
    Views:
    442
    Dmitry Korolyov
    Sep 22, 2003
  5. Ken Beard
    Replies:
    4
    Views:
    287
    Yan-Hong Huang[MSFT]
    Jul 28, 2003
Loading...

Share This Page