Click here to Skip to main content
15,908,264 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: How to access Password in C# code. Pin
Chetan Ranpariya7-May-07 21:53
Chetan Ranpariya7-May-07 21:53 
QuestionWhat is the best way to write Data Control code in ASP.NET Pin
MinhajuddinK5-May-07 19:01
MinhajuddinK5-May-07 19:01 
AnswerRe: What is the best way to write Data Control code in ASP.NET Pin
Blumen6-May-07 19:43
Blumen6-May-07 19:43 
Questionconfirmation dialog in asp.net Pin
houcem.info5-May-07 18:06
houcem.info5-May-07 18:06 
AnswerRe: confirmation dialog in asp.net Pin
enjoycrack5-May-07 18:41
enjoycrack5-May-07 18:41 
Questionabout datagrid Pin
Hamsika rani5-May-07 14:41
Hamsika rani5-May-07 14:41 
AnswerRe: about datagrid Pin
enjoycrack5-May-07 17:12
enjoycrack5-May-07 17:12 
QuestionLosing "Role" Information across applications Pin
geturcodeon5-May-07 6:29
geturcodeon5-May-07 6: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 2:48
hdv2125-May-07 2:48 
AnswerRe: problem to Show "Sending ..." for OnClientClick in my button. Pin
Guffa5-May-07 11:08
Guffa5-May-07 11:08 
GeneralRe: problem to Show "Sending ..." for OnClientClick in my button. Pin
hdv2125-May-07 14:28
hdv2125-May-07 14:28 
AnswerRe: problem to Show "Sending ..." for OnClientClick in my button. Pin
Guffa5-May-07 16:34
Guffa5-May-07 16:34 
GeneralRe: problem to Show "Sending ..." for OnClientClick in my button. Pin
RSArockiam5-May-07 23:31
RSArockiam5-May-07 23:31 
QuestionMaster Detail in asp.net & Transaction Pin
aransiola5-May-07 0:23
aransiola5-May-07 0:23 
AnswerRe: Master Detail in asp.net & Transaction Pin
Mazdak5-May-07 1:56
Mazdak5-May-07 1:56 
Questiondatepicker control in asp.net Pin
aransiola5-May-07 0:13
aransiola5-May-07 0:13 
AnswerRe: datepicker control in asp.net Pin
Sathesh Sakthivel5-May-07 0:34
Sathesh Sakthivel5-May-07 0:34 
GeneralRe: datepicker control in asp.net Pin
Arun.Immanuel5-May-07 0:51
Arun.Immanuel5-May-07 0:51 
AnswerRe: datepicker control in asp.net Pin
Naif_Prof5-May-07 1:30
Naif_Prof5-May-07 1:30 
GeneralRe: datepicker control in asp.net Pin
aransiola5-May-07 1:55
aransiola5-May-07 1:55 
GeneralRe: datepicker control in asp.net Pin
Arun.Immanuel5-May-07 2:39
Arun.Immanuel5-May-07 2:39 
Questionproblem using ajax autocompleteextender in ascx page. plese help on urgent basis Pin
Sandeep_Kumbhar5-May-07 0:08
Sandeep_Kumbhar5-May-07 0:08 
AnswerRe: problem using ajax autocompleteextender in ascx page. plese help on urgent basis Pin
Sandeep_Kumbhar7-May-07 19:05
Sandeep_Kumbhar7-May-07 19:05 
Questionmaintaining checkboxes in gridview. please reply on urgent basis Pin
Sandeep_Kumbhar4-May-07 23:56
Sandeep_Kumbhar4-May-07 23:56 
AnswerRe: maintaining checkboxes in gridview. please reply on urgent basis Pin
Sathesh Sakthivel5-May-07 0:07
Sathesh Sakthivel5-May-07 0: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.