HomePage reverts to previous URL

Questions and comments about currently under development PWB v3

Moderators: Tyler, Scott

Post Reply
danm
Observer
Observer
Posts: 5
Joined: Wed May 19, 2021 7:55 am

HomePage reverts to previous URL

Post by danm »

Hello,

Recently, I changed the HomePage of one of our online public access computers from our library's website home page (https://www.fremontne.gov/library) to our Winter Reading Program page (https://keene.beanstack.org). Starting about two days ago, I noticed this OPAC computer would boot up and display our library website home page. I have gone into the PWB.ini and PWB.txt files to find each "HomePage" line showing our library's home page URL. I change the "HomePage" lines back to our Winter Reading Program URL and reboot the machine. From there, it displays the desired URL. However, when the machine powers down for the evening, then powers up the next day, the library home page URL is back and that URL is displayed again in the .ini and .txt files.

Looking over Public Web Browser documentation on hand and the PWB forum, I am not seeing an answer to my scenario. Admittedly, this feels like a rookie question.

How can I ensure that when the machine reboots and powers up the next day, the desired URL stays up?

Thank you

Dan Moenning
Library Technology Specialist
Keene Memorial Library
Fremont, Nebraska
Dan Moenning
Library Technology Specialist
Keene Memorial Library
1030 N Broad St
Fremont, NE 68025

Ph: 402-727-2694
www.fremontne.gov/library

Scott
Site Admin
Site Admin
Posts: 2527
Joined: Mon Dec 16, 2002 12:31 pm
Location: Rochester, MN
Contact:

Re: HomePage reverts to previous URL

Post by Scott »

Are you using DeepFreeze or an application similar to it that resets the hard drive after a reboot on the device running PWB?

--Scott

danm
Observer
Observer
Posts: 5
Joined: Wed May 19, 2021 7:55 am

Re: HomePage reverts to previous URL

Post by danm »

To my knowledge:
  • DeepFreeze is equipped on all our online public access computers
  • Per City IT Department instruction, I use DeepFreeze to thaw the computer for changes (e.g. changing the HomePage).
  • The City IT Department set up an automatic evening shutdown and morning reboot of our OPAC computers. I am unsure if they use DeepFreeze for this, but I can ask.
I noticed something new with this scenario. In the mornings, the impacted OPAC computer sometimes correctly displays our Winter Reading Program home page. Other times, the original issue of reverting back to our library home page happens.

Thanks for reaching out. I am grateful for any insight you can provide
Dan Moenning
Library Technology Specialist
Keene Memorial Library
1030 N Broad St
Fremont, NE 68025

Ph: 402-727-2694
www.fremontne.gov/library

Scott
Site Admin
Site Admin
Posts: 2527
Joined: Mon Dec 16, 2002 12:31 pm
Location: Rochester, MN
Contact:

Re: HomePage reverts to previous URL

Post by Scott »

PWB reads a single configuration file (INI) when it starts and this INI file has the home page specified. Normally this is the file name "PWB.ini" located in the same folder as the PWB application file.

However it is possible to start PWB with an alternate INI file by specifying an alternate INI file on the command line that starts PWB.

For example:
C:\PWB\PWB.exe /INI=\\server\share\folder\different.ini

This will start PWB with the "different.ini" file located on the server.

Check how PWB is being started to see if there is an alternate INI file specified.

How to find the PWB INI file:
viewtopic.php?f=4&t=3798


There is an issue on Windows versions greater than Windows Vista with PWB located on the "Program Files" folder. The "Program Files" folder is not directly editable.

More information on "Program Files" folder:
viewtopic.php?f=4&t=1163

--Scott

danm
Observer
Observer
Posts: 5
Joined: Wed May 19, 2021 7:55 am

Re: HomePage reverts to previous URL

Post by danm »

Hello Scott,

I must apologize for the delay in response. And I greatly thank you for your insights. Based on your recommendations, these are the steps I have taken:
  • I verified that PWB.exe uses the PWB.ini also in the path C:/PWB. I was unable to view "Shortcut" inside PWB.exe properties, so I confirmed by testing out URLs in the "HomePage=" command line
  • When the Home Page URL reverts to our library home page, I re-enter the https://keene.beanstack.org for our Winter Reading Program. I have edited and saved the PWB.ini file both inside the PWB folder and using the copy PWB.ini to desktop -> edit PWB.ini file -> copy PWB.ini file back to PWB folder.
Results have been the same. Either the machine will auto boot up with the correct reading program URL, or it will revert back to our library home page. I plan to reach out to our City IT department to ask details on machine auto reboot. Is there anything else I should do prior to reaching out to IT?

NOTE: I was going to mention the machine still has older PWB files inside a "PWB_OLD" folder. However, I do not believe this has bearing on my scenario. Looking at .ini files inside this PWB_OLD folder, I have not seen any of the Home Page URLs triggered.

Thanks,
Dan
Dan Moenning
Library Technology Specialist
Keene Memorial Library
1030 N Broad St
Fremont, NE 68025

Ph: 402-727-2694
www.fremontne.gov/library

Scott
Site Admin
Site Admin
Posts: 2527
Joined: Mon Dec 16, 2002 12:31 pm
Location: Rochester, MN
Contact:

Re: HomePage reverts to previous URL

Post by Scott »

It does seem to be a DeepFreeze issue since the home page stays in the INI file until the computer is rebooted, at which point DeepFreeze would revert the INI file back to the version with the other home page.

--Scott

Scott
Site Admin
Site Admin
Posts: 2527
Joined: Mon Dec 16, 2002 12:31 pm
Location: Rochester, MN
Contact:

Re: HomePage reverts to previous URL

Post by Scott »

It is possible to use a shared INI file from a network location to avoid issues with Deep Freeze by supplying an INI file on the command line that starts PWB.

For example:
C:\PWB\PWB.exe /INI=\\server\share\folder\shared.INI

The above tells PWB to use the "shared.INI" file located on the server. Not only does this avoid issues with Deep Freeze it also allows for easy updates to the INI file as it can be shared by multiple instances of PWB.

--Scott

danm
Observer
Observer
Posts: 5
Joined: Wed May 19, 2021 7:55 am

Re: HomePage reverts to previous URL

Post by danm »

Hi Scott,

I reached out to our City's IT Department. They gave me instructions on thawing DeepFreeze in order to apply changes to the PWB.ini file. I have tried it and it was successful.

Thank you for your assistance.
Dan Moenning
Library Technology Specialist
Keene Memorial Library
1030 N Broad St
Fremont, NE 68025

Ph: 402-727-2694
www.fremontne.gov/library

Post Reply