To get data from remote web-service for my grid I have to login and get sessionID.
Ok I can pass this sessionID
The problem is that this sessionID have rather short lifetime. In other words it can expire while a user work with my grid.
So I have to relogin sometimes(if web-servers tells me "session is expired").
Is there an elegant way to intercept such auth error from my server and resend failed call?
Ok I can pass this sessionID
read: {
url: someurl,
data: {
action:
"GetList"
,
sessionID: Auth.sessionID,
},
type:
"POST"
,
},
The problem is that this sessionID have rather short lifetime. In other words it can expire while a user work with my grid.
So I have to relogin sometimes(if web-servers tells me "session is expired").
Is there an elegant way to intercept such auth error from my server and resend failed call?