1. #1
    Ext User
    Join Date
    May 2010
    Posts
    7
    Vote Rating
    0
    bpc35c is on a distinguished road

      0  

    Default browser refresh

    browser refresh


    Upon refresh, I am going back to the home page, which in this case is the login window of my app. How do I stay on the current page after refresh. Thanks.

  2. #2
    Sencha User ryanyoungsma's Avatar
    Join Date
    Oct 2008
    Location
    Indialantic, FL
    Posts
    66
    Vote Rating
    0
    ryanyoungsma is on a distinguished road

      0  

    Default


    Sounds to me you are not handling the login correctly. Such as setting a variable in a PHP session stating the user is logged in. but one could only guess based on the info provided. There is a great forum thread on login windows in the forums. I would search for it.
    _____________________________________________
    Ryan Youngsma

  3. #3
    Ext User
    Join Date
    May 2010
    Posts
    7
    Vote Rating
    0
    bpc35c is on a distinguished road

      0  

    Default


    Hi, Thanks for responding. This may have something to do with State management and refreshing. I mentioned login window because that's the home page. My url does not change in the browser as I navigate thru the app.

  4. #4
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    35,672
    Vote Rating
    748
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Of course the URL doesn't change in an app. You should have backend session or use of cookies. Would much rather use session. Past that, you can set the hash in the URL and when loading get that hash and do something
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  5. #5
    Sencha User
    Join Date
    Feb 2013
    Location
    NZ
    Posts
    66
    Vote Rating
    0
    mazhar.shaikh is on a distinguished road

      0  

    Default any working example??

    any working example??


    Could you point to some links, fiddles where I could see an example of what you are saying.

    Thanks

Similar Threads

  1. Parent Browser refresh
    By sreekar in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 17 Dec 2008, 9:13 AM
  2. Browser History and Refresh
    By cutigersfan in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 3 Sep 2008, 6:22 AM
  3. How to refresh/close/open browser
    By john_kennedy in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 16 Jul 2008, 11:50 PM
  4. Browser Refresh
    By dorgan in forum Ext 2.x: Help & Discussion
    Replies: 3
    Last Post: 23 May 2008, 6:29 AM
  5. Replies: 1
    Last Post: 25 Oct 2006, 3:53 PM

Thread Participants: 3

Tags for this Thread

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar