Results 1 to 3 of 3

Thread: Sencha Touch 2.0 and ASP.Net, Separate Login from Main app

  1. #1
    Sencha User
    Join Date
    Feb 2012
    Posts
    67
    Answers
    3
    Vote Rating
    1
      0  

    Default Sencha Touch 2.0 and ASP.Net, Separate Login from Main app

    Hi,

    I want to have a separate page for the login and for the main app so that if the user accidentally hits the back button it will go back to the login page and redirect the user back to the app as long as their login is still valid.

    Currently I have my login view as the initial card for my main app..... Now, due to redirection issues and keeping users logged in, I would like to have a separate login to authenticate users which will then redirect to a separate main app..... any suggestions?

    I am using Sencha Touch 2.0 in a ASP.Net Web Application to develop a mobile webapp. I would like to have a login.aspx or default.aspx for the login which redirects to app.aspx.

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,699
    Answers
    3944
    Vote Rating
    1279
      0  

    Default

    I would recommend keeping everything in a single app so that you don't have to download and execute all the javascript multiple times improving performance.
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  3. #3
    Sencha User
    Join Date
    Feb 2012
    Posts
    67
    Answers
    3
    Vote Rating
    1
      0  

    Default

    I agree.... I ended up just redirecting to the same page to test it out and it is noticeably slower on a mobile device. Most likely due to loading Sencha twice.... I will come back to this later.

Posting Permissions

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