Results 1 to 6 of 6

Thread: Header

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Sep 2008
    Posts
    1,260

    Header

    If the LastModified header is not returned when getting a file off a server, is it possible to manually request it?

  2. #2
    PowerPoster
    Join Date
    Sep 2003
    Location
    Edmonton, AB, Canada
    Posts
    2,629

    Re: Header

    I don't think so, it's just a server setting.

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Sep 2008
    Posts
    1,260

    Re: Header

    I gather that there is a If-Modified-Since request header. If I wanted a page that has been created after 1 Jan 2010, how can i create a header that does this, using the If-Modified-Since request header?

  4. #4
    PowerPoster
    Join Date
    Sep 2003
    Location
    Edmonton, AB, Canada
    Posts
    2,629

    Re: Header

    you could probably make a request using PHP and cURL, but this isn't something you can do with HTML or JavaScript.

    what exactly are you trying to do?

  5. #5

    Thread Starter
    Frenzied Member
    Join Date
    Sep 2008
    Posts
    1,260

    Re: Header

    I am a visual basic programmer wanting to make an application that detects when a web page has been updated.

    This is how i want to do it...

    1. The user specifies a page to be monitored
    2. The date of the page is recorded
    3. every 5 mins the date is checked and if it has changed, the user is notified by a messagebox.

    The problem is that not all pages return the modified date in the response header... thats why i am thinking of using the If-Modified-Since request header.

    Does that make sense?

  6. #6
    PowerPoster
    Join Date
    Sep 2003
    Location
    Edmonton, AB, Canada
    Posts
    2,629

    Re: Header

    I guess it makes sense, but I don't know how to help you do it; you're better off looking in the VB section of the forum.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width