1. #1
    Sencha User
    Join Date
    Nov 2011
    Vote Rating
    utkarshk.leeway is on a distinguished road


    Default Unanswered: How to manage "Remember me" and Sessions

    Unanswered: How to manage "Remember me" and Sessions

    Hi team,

    I have made an application in EXTJS using PHP. when i leave my application for sometime stale in no activity mode/ sever sessions are gone, and any of the store can not fetch any data from any webservice. it returns null and thus the UI do not get filled by data at all.

    at this point i want user to be redirected to login page and login again and to show him such an alert stating the same.

    please let me know how can i do that using extjs.


  2. #2
    Ext JS Premium Member tvanzoelen's Avatar
    Join Date
    Apr 2008
    Groningen - Netherlands
    Vote Rating
    tvanzoelen has a spectacular aura about tvanzoelen has a spectacular aura about tvanzoelen has a spectacular aura about



    catch the response in a callback, display a message and post a form. Thats the way I do it.

    For example;

    callback: function(param1, param2, param3){ //params depends on the callback you use
    Ext.Msg.confirm(connectionErrorHdr, connectionErrorMsg, //some vars with stringmessages for title and body
                   function(btn) {
                        if (btn == 'yes') {
                           //do nothing                 
                        if (btn == 'no') {
    but there are probably more elegant ways to do it

Thread Participants: 1

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi