-
19 Jan 2011 12:16 PM #1
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.
-
19 Jan 2011 12:29 PM #2
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
-
19 Jan 2011 12:53 PM #3
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.
-
19 Jan 2011 2:20 PM #4Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,641
- Vote Rating
- 434
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
________________
http://www.JSONPLint.com - Source to lint your JSONP!
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 almost in print!
When posting code, please use BBCode's CODE tags.
Similar Threads
-
Parent Browser refresh
By sreekar in forum Ext 2.x: Help & DiscussionReplies: 0Last Post: 17 Dec 2008, 9:13 AM -
Browser History and Refresh
By cutigersfan in forum Ext 2.x: Help & DiscussionReplies: 0Last Post: 3 Sep 2008, 6:22 AM -
How to refresh/close/open browser
By john_kennedy in forum Ext 2.x: Help & DiscussionReplies: 1Last Post: 16 Jul 2008, 11:50 PM -
Browser Refresh
By dorgan in forum Ext 2.x: Help & DiscussionReplies: 3Last Post: 23 May 2008, 6:29 AM -
IE Browser Refresh not working with ConnectionManager?
By Smurf in forum Ext 1.x: BugsReplies: 1Last Post: 25 Oct 2006, 3:53 PM


Reply With Quote