Results 1 to 6 of 6

Thread: missing ) in parenthetical

  1. #1
    Sencha User
    Join Date
    Sep 2010
    Posts
    20

    Default missing ) in parenthetical

    Hi,

    I have face some error (as title), before I mention how I hit that error... the current project (extjs 3.2.1) with spring security... hope someone have face this problem before..

    The following is scenario I have done to prevent multiple login

    1) Person A try login and after 10 seconds later Person B try login it will successful login however when Person A try perform any action it will hit the MaxSession error (for this cases it working fine)

    2) Person A try login, he was try to click on the link and data show in the Grid and on same time Person B try login (without do anything). Person A try select on the Grid and click edit (FormPanel with combobox[data need retrieve by ajax]) so this time Person A action will not successful and hit the MaxSession error (this as expected)

    3) Person A try login, he was try to click on the link and data show in the Grid and on same time Person B try login (without do anything). Person A try select on the Grid and click edit (FormPanel) so the Form will show on the screen, until here will not hit any error. However when Person A try click "update" button it will trigger to submit the form to backend from here should hit the MaxSession error [from Firebug it was successful hit but I get the error as title and the ext-all-debug.js the code was error on (line 8283]

    Hope someone can help me for error, it should be re-direct to MaxSession page but it not and get the error.

    Thank You

  2. #2
    Sencha User Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,245

    Default

    The max. session error page should have a different status code (403 instead of 200?). You need to configure this on your server.

  3. #3
    Sencha User
    Join Date
    Sep 2010
    Posts
    20

    Default

    Hi Condor,

    For the (1) and (2) is working fine but for (3) it unable to show the page but get the error (as the title)

    Thanks for the quick reply

  4. #4
    Sencha User Animal's Avatar
    Join Date
    Mar 2007
    Location
    Bédoin/Nottingham
    Posts
    30,890

    Default

    See the "Similar Threads" at the bottom of the thread!

  5. #5
    Sencha User Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,245

    Default

    The OP knows that this problem comes from returning HTML instead of JSON.

    The problem is that the server doesn't mark the HTML page with the error with a HTTP status error code.

    Another solution would obviously be to have the max. sessions page contain JSON instead of HTML.

  6. #6
    Sencha User
    Join Date
    Sep 2010
    Posts
    20

    Default

    Hi Guys,

    thanks for the reply, I have solve the problem the solution as "Condor" mention... thank you again...

Similar Threads

  1. Missing ) in parenthetical
    By oroma in forum Ext 1.x: Help & Discussion
    Replies: 2
    Last Post: 15 May 2009, 1:42 PM
  2. missing ) in parenthetical
    By pittado in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 27 Sep 2008, 8:02 AM
  3. missing ) in parenthetical
    By rhytha in forum Community Discussion
    Replies: 1
    Last Post: 6 Mar 2008, 5:58 AM
  4. missing ) in parenthetical - (NO IT's DIFFERENT)
    By Nisse in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 18 Feb 2008, 8:30 PM
  5. missing ) in parenthetical
    By vector in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 14 Dec 2007, 1:28 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •