Last post Sep 13, 2019 09:03 AM by PatriceSc
Sep 12, 2019 04:17 AM|phongbv|LINK
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?
Sep 13, 2019 02:03 AM|Nan Yu|LINK
>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 ?
Sep 13, 2019 08:43 AM|phongbv|LINK
I don't know the reason. I tried logout then login again but it is not working until my browser cached was cleared.
Sep 13, 2019 09:03 AM|PatriceSc|LINK
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).