Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8327201
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T01:01:35+00:00 2026-06-09T01:01:35+00:00

I have an ASP.NET 4.0 site on IIS 7.0 that is having first time

  • 0

I have an ASP.NET 4.0 site on IIS 7.0 that is having first time load issues described here.

I’ve done some testing, and can confirm that it’s only the first load of the page that is slow; every subsequent page loads normally. After googling around for this, I found a “warmup” script that can send an HTTP request the first time after the app pool is recycled, and this seems to fix the problem. BUT, I’m not sure if it will work when I force set the page to use only HTTPS/SSL?

The script I’m currently using is as follows:

Dim website1

website1 = "http://<website domain>/Auth/Login.aspx"

Function WarmUpSite(strURL)
    On Error Resume Next
    Dim objHTTP 
    Set objHTTP = CreateObject("MSXML2.XMLHTTP")
    objHTTP.Open "GET", strURL, False
    objHTTP.Send
    If Err.Number=0 And objHTTP.Status=200 Then 
        Hget=strURL & " has been warmed up successfully at:  "&Date()&"  "&Time() 
    Else
        Hget=strURL & " found error at:  "&Date()&"  "&Time()
    End If
    Set objHTTP = Nothing
    'Section for writing into a text file
    Const FOR_APPENDING = 8
    strFileName = "C:\WarmUpLog.txt"
    Set objFS = CreateObject("Scripting.FileSystemObject")
    Set objTS = objFS.OpenTextFile(strFileName,FOR_APPENDING)
    objTS.WriteLine Hget
End Function

WarmUpSite(website1)

So my question is how I would make this work if the website I’m warming up is a login page that will be an HTTPS address, not HTTP? My apologies if this is a dumb question, I do relatively little web work.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T01:01:40+00:00Added an answer on June 9, 2026 at 1:01 am

    Well, apparently it just involved changing the value of website1 to an HTTPS url.

    😉

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

So we're having some issues deploying an ASP.NET MVC app to a client site.
I have a asp.net mvc site that being hosted via IIS 7. I believe
I have this asp.NET web site that for some odd reason doesn't want to
We have an asp.net web site that is deployed on several IIS servers. The
I have an old .net 2005 web site that has some asp pages and
I have a ASP.NET MVC site using Membership Provider. I have trouble testing some
I have a asp.net web site that was developed on the .Net Framework v2
I have an ASP.NET MVC site and ELMAH is showing me that my site
I have a asp.net mvc site that references a couple of libraries. Recently I
I have an ASP.Net web site deployed in IIS 7.5 with a file Cart.svc

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.