Click here to Skip to main content
15,924,367 members
Home / Discussions / C#
   

C#

 
GeneralRe: Invalidate() Pin
max292979-Apr-07 13:01
max292979-Apr-07 13:01 
AnswerOT: How's it going? Pin
Colin Angus Mackay9-Apr-07 13:20
Colin Angus Mackay9-Apr-07 13:20 
QuestionConvert xml to html files Pin
Amr M. K.9-Apr-07 9:38
Amr M. K.9-Apr-07 9:38 
AnswerRe: Convert xml to html files Pin
Not Active9-Apr-07 10:32
mentorNot Active9-Apr-07 10:32 
AnswerRe: Convert xml to html files Pin
Dmitry Khudorozhkov9-Apr-07 10:32
Dmitry Khudorozhkov9-Apr-07 10:32 
QuestionHow to change the sound on pop up DialogBox? Pin
Khoramdin9-Apr-07 9:10
Khoramdin9-Apr-07 9:10 
AnswerRe: How to change the sound on pop up DialogBox? Pin
Colin Angus Mackay9-Apr-07 9:16
Colin Angus Mackay9-Apr-07 9:16 
QuestionRedirect on restricted axs (C#.net) Pin
jcfordell9-Apr-07 8:13
jcfordell9-Apr-07 8:13 
Hi,
I am trying to make this work here, I set a form authentication on my site from a SQLDatabase. Now the membership tool did not seem to give me all I needed so I followed an example using tickets to specify user roles from the database. All in all it works well. The only problem I am having is that whenever I am authenticated with a lesser user role (let say Role 1) and I am trying to axs a page requiring Role 2 let's say, I am redirected to the login page - not the error page. I tried to find a trick to redirect to the error page all users already authenticated (meaning that most of the time it would be because they tried to axs a page to which they can't axs) but that means even if the user wants to go back to the login page he will be redirected to the error page, which doesn't make sense.

So my question is - Is there a variable or a way to know that a user tried to axs a restricted page even though he was already authenticated??

JC

PS: I hope it's clear, I seem to have difficulties putting it to words
AnswerRe: Redirect on restricted axs (C#.net) Pin
Jaiprakash M Bankolli9-Apr-07 21:25
Jaiprakash M Bankolli9-Apr-07 21:25 
GeneralRe: Redirect on restricted axs (C#.net) Pin
jcfordell10-Apr-07 5:29
jcfordell10-Apr-07 5:29 
GeneralRe: Redirect on restricted axs (C#.net) Pin
Jaiprakash M Bankolli10-Apr-07 19:01
Jaiprakash M Bankolli10-Apr-07 19:01 
QuestionHelp Help Help Help Help Help Help please help me Pin
RohitRajPokhrel9-Apr-07 8:13
RohitRajPokhrel9-Apr-07 8:13 
AnswerRe: Help Help Help Help Help Help Help please help me Pin
Tarakeshwar Reddy9-Apr-07 8:40
professionalTarakeshwar Reddy9-Apr-07 8:40 
GeneralRe: Help Help Help Help Help Help Help please help me Pin
RohitRajPokhrel23-Apr-07 13:45
RohitRajPokhrel23-Apr-07 13:45 
Questionhow to embedded exe in design time and extract it at runTime ? Pin
hdv2129-Apr-07 7:36
hdv2129-Apr-07 7:36 
AnswerRe: how to embedded exe in design time and extract it at runTime ? Pin
Colin Angus Mackay9-Apr-07 7:40
Colin Angus Mackay9-Apr-07 7:40 
GeneralRe: how to embedded exe in design time and extract it at runTime ? Pin
hdv2129-Apr-07 8:18
hdv2129-Apr-07 8:18 
GeneralRe: how to embedded exe in design time and extract it at runTime ? Pin
Colin Angus Mackay9-Apr-07 9:05
Colin Angus Mackay9-Apr-07 9:05 
QuestionHow to add "Check Mark" to a Context Menu? Pin
Khoramdin9-Apr-07 7:21
Khoramdin9-Apr-07 7:21 
AnswerRe: How to add "Check Mark" to a Context Menu? Pin
kubben9-Apr-07 7:29
kubben9-Apr-07 7:29 
Questionpath 2 get image file from resource Pin
samreengr89-Apr-07 7:00
samreengr89-Apr-07 7:00 
AnswerRe: path 2 get image file from resource Pin
Luc Pattyn9-Apr-07 9:21
sitebuilderLuc Pattyn9-Apr-07 9:21 
GeneralRe: path 2 get image file from resource Pin
samreengr89-Apr-07 11:00
samreengr89-Apr-07 11:00 
GeneralRe: path 2 get image file from resource Pin
Luc Pattyn9-Apr-07 13:57
sitebuilderLuc Pattyn9-Apr-07 13:57 
QuestionSystem.Diagnostics.Design? Pin
Vodstok9-Apr-07 6:17
Vodstok9-Apr-07 6:17 

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.