Results 1 to 4 of 4

Thread: another login problem RESOLVED thanks woka

  1. #1

    Thread Starter
    Fanatic Member d2005's Avatar
    Join Date
    Aug 2005
    Location
    ireland
    Posts
    620

    another login problem RESOLVED thanks woka

    i have my logins setup, using my webconfig file
    a login page

    the problem is, to view any page you must login, there are a few pages that i want everyone to see,
    any quick fixes out there
    Last edited by d2005; Sep 9th, 2005 at 05:44 AM.

  2. #2
    Super Moderator Wokawidget's Avatar
    Join Date
    Nov 2001
    Location
    Headingly Occupation: Classified
    Posts
    9,632

    Re: another login problem

    Code:
    'other config stuff
        </system.web>
    
        'I have added this
        <location path="Main.aspx">
            <system.web>
                <authorization>
    	   <allow users="*" />
                </authorization>
            </system.web>
        </location>
    
    </configuration>
    That goes in web config.
    Add one per page u want random users to see.

    Woof

  3. #3

    Thread Starter
    Fanatic Member d2005's Avatar
    Join Date
    Aug 2005
    Location
    ireland
    Posts
    620

    Re: another login problem

    brilliant

    i but the code in the above post at the very bottom of my webconfig, works an absolute treat

    super moderator
    Last edited by d2005; Sep 9th, 2005 at 05:46 AM.

  4. #4
    Super Moderator Wokawidget's Avatar
    Join Date
    Nov 2001
    Location
    Headingly Occupation: Classified
    Posts
    9,632

    Re: another login problem RESOLVED thanks woka

    No problems...you may want to check out my 2 threads on logining in to web apps.
    The links are in my sig under:

    My ASP.NET Code Examples

    if you have any questions then give me a shout

    Woof

Posting Permissions

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



Click Here to Expand Forum to Full Width