[ 
https://issues.apache.org/jira/browse/OFBIZ-4256?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13030032#comment-13030032
 ] 

Sascha Rodekamp commented on OFBIZ-4256:
----------------------------------------

The information comes from the request header if the X-Requested-With contains 
XMLHttpRequest we haven an ajax request.

Your right, but you working with permissions and without the auth option. 
That is of course an alternative but my intention was not to add permission 
checks to each lookup, in my opinion it's more generic to differentiate in the 
request handler. Than a developers haven't to think of weather using an ajax or 
another request.



> after session timeout, ajax popup dialogbox shows ofbiz login screen
> --------------------------------------------------------------------
>
>                 Key: OFBIZ-4256
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4256
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ALL APPLICATIONS
>    Affects Versions: SVN trunk
>            Reporter: Wai
>            Assignee: Sascha Rodekamp
>         Attachments: OFBIZ-4256_ajaxtimeoutfix.patch
>
>
> Take the following page (for example) 
> https://localhost/content/control/findContent
> field "Data Resource Id" has an icon beside it that creates an ajax dialog 
> pop up.  If the session has already timed out.  The dialog box would show the 
> login screen.
> I suspect that all pages containing this functionality would exhibit the same 
> symptom.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to