locked
Application automatic redirect to login page RRS feed

  • Question

  • User1387190246 posted

    I got a problem when users click a hyper link( /Home/OpenTaskDetail?taskId=6f5d664b-5f4c-47d0-9fdd-df0d697c3364&process=QuyTrinhTinDung&stage=A.01&appCode=CAR.11092019.00120059&processType=&pageIdentity=2 ), my application force user logout and redirect to login page but it does not redirect to login page all of time. I can't debug or trace anything because it doesn't go to my controller.

    When browser cache has been cleared and I reopen that link, it is working normally.

    Do anyone know that problem?

    Thursday, September 12, 2019 4:17 AM

All replies

  • User1724605321 posted

    Hi phongbv,

    >my application force user logout and redirect to login page but it does not redirect to login page all of time.

    Do you mean when authentication ticket expires , your application force user logout but not redirect to login page ? If not redirect to login page , what page the application shows? How about put [Authorized] attribute at action that page returned from ?

    Best Regards,

    Nan Yu

    Friday, September 13, 2019 2:03 AM
  • User1387190246 posted

    I don't know the reason. I tried logout then login again but it is not working until my browser cached was cleared.

    Friday, September 13, 2019 8:43 AM
  • User753101303 posted

    Hi,

    Rather than  "it does not redirect to login page all of time" take the time to see what actually happens when it fails. For example "F12 Network" could help to find if this is really a caching problem (or you have a server side exception maybe ignored).

    Friday, September 13, 2019 9:03 AM