Click here to Skip to main content
15,559,645 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: How to access Password in C# code. Pin
Chetan Ranpariya7-May-07 22:53
Chetan Ranpariya7-May-07 22:53 
QuestionWhat is the best way to write Data Control code in ASP.NET Pin
MinhajuddinK5-May-07 20:01
MinhajuddinK5-May-07 20:01 
AnswerRe: What is the best way to write Data Control code in ASP.NET Pin
Blumen6-May-07 20:43
Blumen6-May-07 20:43 
Questionconfirmation dialog in asp.net Pin
houcem.info5-May-07 19:06
houcem.info5-May-07 19:06 
AnswerRe: confirmation dialog in asp.net Pin
enjoycrack5-May-07 19:41
enjoycrack5-May-07 19:41 
Questionabout datagrid Pin
Hamsika rani5-May-07 15:41
Hamsika rani5-May-07 15:41 
AnswerRe: about datagrid Pin
enjoycrack5-May-07 18:12
enjoycrack5-May-07 18:12 
QuestionLosing "Role" Information across applications Pin
geturcodeon5-May-07 7:29
geturcodeon5-May-07 7:29 
I created a simple application say "LoginApp" that checks a users credentials using the Web Site Administration Tool. Everything works fine and when I log in, I can view the users username and Role ie: admin, Administrator

I created another application say "App1" that uses LoginApp as it's login. Everything works fine as long as you add similar machine keys, authorization settings in the web.configs of all apps that are using the login ie:

<machineKey
validationKey="6AE8AE0D7BA0654392821F2B5B0F209E32492B6ABD47AABBD4CB4B1ABEDE7D66B9F78A8DC174B352183726D3AB682B5E7BB37BD2010E283ADBDB4024DE87B440"
decryptionKey="C5F9FF5E81B780DEBA8B41C41D4830F27139DB1CD373FDDAABF0648D24D8F3E2"
validation="SHA1" decryption="AES"
/>
<authorization>
<deny users="?" />
</authorization>
<roleManager enabled="true" />
<authentication mode="Forms">
<forms name=".AUTH" loginUrl="/LoginApp/Login.aspx" protection="All" path="/" timeout="30"/>
</authentication>

This approach works, but I can only extract the Username. All the role information is lost. Roles.GetAllRoles, Roles.GetRolesForUser returns empty strings. Any suggestions in getting this fixed?
Questionproblem to Show "Sending ..." for OnClientClick in my button. Pin
hdv2125-May-07 3:48
hdv2125-May-07 3:48 
AnswerRe: problem to Show "Sending ..." for OnClientClick in my button. Pin
Guffa5-May-07 12:08
Guffa5-May-07 12:08 
GeneralRe: problem to Show "Sending ..." for OnClientClick in my button. Pin
hdv2125-May-07 15:28
hdv2125-May-07 15:28 
AnswerRe: problem to Show "Sending ..." for OnClientClick in my button. Pin
Guffa5-May-07 17:34
Guffa5-May-07 17:34 
GeneralRe: problem to Show "Sending ..." for OnClientClick in my button. Pin
RSArockiam6-May-07 0:31
RSArockiam6-May-07 0:31 
QuestionMaster Detail in asp.net & Transaction Pin
aransiola5-May-07 1:23
aransiola5-May-07 1:23 
AnswerRe: Master Detail in asp.net & Transaction Pin
Mazdak5-May-07 2:56
Mazdak5-May-07 2:56 
Questiondatepicker control in asp.net Pin
aransiola5-May-07 1:13
aransiola5-May-07 1:13 
AnswerRe: datepicker control in asp.net Pin
Sathesh Sakthivel5-May-07 1:34
Sathesh Sakthivel5-May-07 1:34 
GeneralRe: datepicker control in asp.net Pin
Arun.Immanuel5-May-07 1:51
Arun.Immanuel5-May-07 1:51 
AnswerRe: datepicker control in asp.net Pin
Naif_Prof5-May-07 2:30
Naif_Prof5-May-07 2:30 
GeneralRe: datepicker control in asp.net Pin
aransiola5-May-07 2:55
aransiola5-May-07 2:55 
GeneralRe: datepicker control in asp.net Pin
Arun.Immanuel5-May-07 3:39
Arun.Immanuel5-May-07 3:39 
Questionproblem using ajax autocompleteextender in ascx page. plese help on urgent basis Pin
Sandeep_Kumbhar5-May-07 1:08
Sandeep_Kumbhar5-May-07 1:08 
AnswerRe: problem using ajax autocompleteextender in ascx page. plese help on urgent basis Pin
Sandeep_Kumbhar7-May-07 20:05
Sandeep_Kumbhar7-May-07 20:05 
Questionmaintaining checkboxes in gridview. please reply on urgent basis Pin
Sandeep_Kumbhar5-May-07 0:56
Sandeep_Kumbhar5-May-07 0:56 
AnswerRe: maintaining checkboxes in gridview. please reply on urgent basis Pin
Sathesh Sakthivel5-May-07 1:07
Sathesh Sakthivel5-May-07 1:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.