Forms Authentication with Single Page App

  1. #1

    Forms Authentication with Single Page App

    Hi

    I have a Single Page App with a seperate login screen. When the user logs in they are authenticated and redirected to the home page /default.aspx. At this point the user has set the time of the sliding ticket.

    In a traditional app every request is processed and the authentication cookie is reset. However in a Single Page js app I'm pretty sure that my cookie is not being set. I'm not sure how I can overcome this but perhaps this has been raised before?

    Do you have a solution? Im thinking that I may need to override some Ext functionality when performing DirectMethods/Events?

    Thanks for any advice.

    Glen
  2. #2
    However in a Single Page js app I'm pretty sure that my cookie is not being set.
    Yes, the cookie should be sent on every request. If you inspect the request using Fiddler or Firefox + Firebug, you should be able to see the Cookie and inspect other aspects of the Request/Response.
    Geoffrey McGill
    Founder

Similar Threads

  1. [CLOSED] Forms authentication RedirectFromLoginPage not working
    By CarWise in forum 2.x Legacy Premium Help
    Replies: 5
    Last Post: Jun 05, 2012, 1:25 PM
  2. [CLOSED] Caching issue when forms authentication is enabled
    By jskibo in forum 1.x Legacy Premium Help
    Replies: 10
    Last Post: Sep 22, 2009, 12:25 PM
  3. [CLOSED] AjaxMethod and Forms authentication
    By tdracz in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Jul 20, 2009, 7:57 PM
  4. Replies: 4
    Last Post: May 07, 2009, 11:44 PM
  5. [CLOSED] Forms Authentication and Coolite (Ext)
    By reinout.mechant@imprss.be in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Mar 04, 2009, 11:18 AM

Posting Permissions