[progress Communities] [progress Openedge Abl] Forum Post: Re: Jsdo Authentication

  • Thread starter Thread starter spandau66
  • Start date Start date
Status
Not open for further replies.
S

spandau66

Guest
Hi Wenshaw, The second excerpt would have been on the same browser but logging in again after selecting the Empty Cache and Hard reload. Admittedly, that's not always full proof. Just completely cleared my cache and run the login. Yes the details displayed are as before and the JSDO does perform a successful read of data. On the back end, I have my own version of the SmartHybridRealm Class which uses the Session ID to store user details for subsequent data reads (Authorisation etc). This code is being executed, so no worries there. The main concern was on the repeated 401 Unauthorised!!! Whilst continuing, I would expect that once a user has been authenticated, I would be able to make Standard AJAX calls to my back end entities. For example, a menu retrieval which is read only and multi tabled. I certainly would not want to use the JSDO especially as it only ever returns the top most table (depending on what is defined in "tableRef" ). So the requirement to use a standard AJAX call is too return the WHOLE Dataset on a Get (READ Only) request. BUT, this does not work because I get the 401 unauthorised issue!!!!. So far I have had to use the JSDO to return the top table and then use an invoke method to return me the whole dataset - this is cumbersome as it means my web code is increased unnecessarily. So, the question is, is there a solution to the above point? Thanks in advance Martyn

Continue reading...
 
Status
Not open for further replies.
Back
Top