Re: Add extra parameter to Login/Membership - ASP 2.0

From: David Sack (dsackNoSpam_at_NoSpamwp-int.com)
Date: 10/25/05


Date: Tue, 25 Oct 2005 07:50:25 -0400


  Thats what I was afraid of. Do you know of any good "How to's" or
tutorials on the subject? Thanks again for the response. It is greatly
appreciated.

Thanks
Dave

"Dominick Baier [DevelopMentor]" <dbaier@pleasepleasenospamdevelop.com>
wrote in message news:4256546011ee398c7a755fd7fbc19@news.microsoft.com...
> Hello David,
>
> smells like custom provider...
>
> ---------------------------------------
> Dominick Baier - DevelopMentor
> http://www.leastprivilege.com
>
>> Thanks for the response. I think the Application name is set
>> automatically by settings in the web config? I would like to pass the
>> value from my login.aspx form to be used as part of the authentication
>> process. Kinda like saying to the server please check user "jsmith"
>> with password "xxxx" from Site (from drop down) "1".
>>
>> Thanks again,
>>
>> Dave
>>
>> "Dominick Baier [DevelopMentor]"
>> <dbaier@pleasepleasenospamdevelop.com> wrote in message
>> news:4256546011e8cd8c7a72e63bf10ca@news.microsoft.com...
>>
>>> Hello David,
>>>
>>> can you "misuse" the ApplicationName for that??
>>>
>>> otherwise i guess you need a custom provider.
>>> ---------------------------------------
>>> Dominick Baier - DevelopMentor
>>> http://www.leastprivilege.com
>>>> I hope can explain this properly. I have a time keeping site that
>>>> host multiple companies data in a single database. I would like the
>>>> logins to be unique for each company but not across the entire site
>>>> (i.e. I could have two jsmith logins as long as they are with
>>>> seperate companies).
>>>>
>>>> I would like to add a drop down box to the login that allow the user
>>>> to select the company that they are with. By adding a "site" column
>>>> to the users table I would be able to partition the users so that
>>>> they would be authenticated only against the id that has a "site"
>>>> that matches theirs.
>>>>
>>>> Does this require creating a custom membership provider? I have
>>>> written my own authentication routines in the past and can do so for
>>>> this projects but I would really like to leverage the existing
>>>> membership/role capablility of ASP2. I'm not sure that I have the
>>>> skills needed to write a custom membership provider. I just want to
>>>> make sure that I wasn't missing anything.
>>>>
>>>> Thanks
>>>> Dave
>
>



Relevant Pages

  • Re: Lets hear from the boys on feminism
    ... Sure, thats what I said. ... >> I would not use such misandristic kooks as any standard of response. ... One of the reasons that Maureen ... imagine how neat it would be if both men and women had such a Pill... ...
    (soc.men)
  • Re: So buger king I went to your dating site ... you know the one you posted
    ... >> Even marketing stratgies got more views / response in the survey ... > that left me paralyzed wont effect their kids so this is not an issue ... THATS 15 GOOD YEARS. ...
    (uk.people.disability)
  • Re: bach vs. coltrane
    ... I suppose Timberwoof has seen the news item from Oklahoma, ... I suppose such people deserve (as has been urged by a number ... I'm afraid that my main response is contempt. ...
    (talk.origins)
  • Re: bach vs. coltrane
    ... I'm afraid that my main response is contempt. ... Christians have been very ill-served by such people. ... Do something today about the Darfur Genocide ...
    (talk.origins)
  • Re: El Kabongs mold infested home/shop/hate hole
    ... a pants wetting coward who's afraid of your own stupid looking ... shadow and afraid of everything else. ... for a human being Gigaspew is. ... Trolls like him live to get a response, ...
    (alt.guitar.amps)