You must be logged in to post to the forums
Create an account here:  http://adefhelpdesk.com/register.aspx

 

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 26 Dec 2018 04:19 AM by  Michael Washington
Issues Refreshing Pages on website
 3 Replies
Sort:
You are not authorized to post a reply.
Author Messages

Victor Oduor



New Member


Posts:4
New Member


--
04 Dec 2018 01:34 AM

     I'm having issues when I refresh the application. It seems to hang and does nothing on refresh. I have tried some of the suggestions on the link below without much success:

    https://weblog.west-wind.com/posts/2017/Aug/07/Handling-HTML5-Client-Route-Fallbacks-in-ASPNET-Core

    Do you have a solution to this issue?

    Thanks. 

    0

    Michael Washington



    New Member


    Posts:18
    New Member


    --
    04 Dec 2018 04:50 AM

    A person should never need to refresh the application.
    However, we want to address this when people do. We plan to put something out in the next 3-4 weeks.

    We will first try this:
    https://github.com/aspnet/JavaScriptServices/issues/973
    (note: We use Razor pages so the default option will not work)

    If that doesn't work we will switch to this:
    https://stackoverflow.com/questions/42876144/how-to-use-hashbang
    (the negative of using this is that the code that handles the email links will need to be adjusted.)

    0

    Michael Washington



    New Member


    Posts:18
    New Member


    --
    25 Dec 2018 04:00 PM

    We plan to alter this in a future version of ADefHelpDesk (anything higher than 04.00.00), but for anyone who want to implement this now, alter app.module.ts to add "{ useHash: true }" then alter all the email templates in the SystemFiles directory from "[CurrentHostLocation]?" to "[CurrentHostLocation]/#/home?". You will have to follow the directions to create a new deployment package after making the changes. We expect to release a new update with the change in the next two weeks.

    See: https://github.com/ADefWebserver/ADefHelpDesk/commit/2f57e22f40f3eff6dc8eedfdfefeb28d81e5268e

    0

    Michael Washington



    New Member


    Posts:18
    New Member


    --
    26 Dec 2018 04:19 AM
    The new version of (ADefHelpDesk_04.10.00) that fixes this issue has been released and is available on the Download page of this site.
    0
    You are not authorized to post a reply.