Location Path

  1. #1

    Location Path


    I have a Coolite window in my login page. However I'm running into some issues since the current user is not authenticated they don't have access to that are being used for EXTJS.


    In the web config I need to add some exceptions for the resource files, but I'm not sure what they would be. The below does not cause an error, but also does not solve the problem.


    
     <location path="EXT">
        <system.web>
          <authorization>
            <allow users="?"/>
          </authorization>
        </system.web>
      </location>
  2. #2

    RE: Location Path

    Hi,

    Possible solutions:
    1. Add CleanResourceUrl="false" for the ScriptManager (ResourceManager for 1.0) in the Login page


    or


    2. Add to the Global.asax.cs file
    protected void Application_AuthenticateRequest(object sender, System.EventArgs e)
            {
                string url = HttpContext.Current.Request.RawUrl.ToLower();
                if(url.Contains("coolite.axd")) // or 'ext.axd' for 1.0
                {
                    HttpContext.Current.SkipAuthorization = true;
                }
            }
  3. #3

    RE: Location Path

    Solution 1 worked perfectly.


    Thank you Vladimir.
  4. #4

    RE: Location Path

    Solution 1 worked perfectly.
    I would recommend Solution 2.


    Geoffrey McGill
    Founder

Similar Threads

  1. Save Portlets Location and Position
    By emrencik in forum 1.x Help
    Replies: 0
    Last Post: Jun 16, 2011, 2:38 PM
  2. GridPanel location changes after button click
    By HexElffilter in forum 1.x Help
    Replies: 0
    Last Post: Feb 09, 2011, 10:58 AM
  3. Panel Content Location
    By fpw2377 in forum 1.x Help
    Replies: 2
    Last Post: Aug 05, 2010, 8:08 PM
  4. Replies: 2
    Last Post: Jun 10, 2009, 5:27 AM
  5. Download location for 0.6
    By mthird in forum 1.x Help
    Replies: 1
    Last Post: Jan 07, 2009, 2:23 PM

Posting Permissions