Click here to Skip to main content
15,913,610 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionReference Pin
hahii9-Apr-07 14:18
hahii9-Apr-07 14:18 
AnswerRe: Reference Pin
Christian Graus9-Apr-07 14:45
protectorChristian Graus9-Apr-07 14:45 
Questionencrypted Pin
hahii9-Apr-07 12:19
hahii9-Apr-07 12:19 
AnswerRe: encrypted Pin
Not Active9-Apr-07 16:59
mentorNot Active9-Apr-07 16:59 
AnswerRe: encrypted Pin
enjoycrack9-Apr-07 20:28
enjoycrack9-Apr-07 20:28 
QuestionRelease/Debig configuration window not seen Pin
Ridge Howison9-Apr-07 9:52
Ridge Howison9-Apr-07 9:52 
AnswerRe: Release/Debig configuration window not seen Pin
kubben9-Apr-07 15:55
kubben9-Apr-07 15:55 
QuestionRedirect on restricted axs (C#.net) Pin
jcfordell9-Apr-07 8:19
jcfordell9-Apr-07 8:19 
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

JC
AnswerRe: Redirect on restricted axs (C#.net) Pin
kubben9-Apr-07 13:38
kubben9-Apr-07 13:38 
GeneralRe: Redirect on restricted axs (C#.net) Pin
jcfordell10-Apr-07 5:32
jcfordell10-Apr-07 5:32 
Questionsaving image file Pin
Ben Saucer9-Apr-07 7:28
Ben Saucer9-Apr-07 7:28 
AnswerRe: saving image file Pin
Dmitry Khudorozhkov9-Apr-07 10:37
Dmitry Khudorozhkov9-Apr-07 10:37 
QuestionAccessing input values across user controls Pin
GregStevens9-Apr-07 6:58
GregStevens9-Apr-07 6:58 
AnswerRe: Accessing input values across user controls Pin
Abolfazl Sheikhloo9-Apr-07 7:17
Abolfazl Sheikhloo9-Apr-07 7:17 
GeneralRe: Accessing input values across user controls Pin
GregStevens9-Apr-07 10:14
GregStevens9-Apr-07 10:14 
Questionasp.net menu control Pin
peteyRo9-Apr-07 6:58
peteyRo9-Apr-07 6:58 
Questionhow i can know that the user is loged on in other client Pin
Abolfazl Sheikhloo9-Apr-07 6:48
Abolfazl Sheikhloo9-Apr-07 6:48 
AnswerRe: how i can know that the user is loged on in other client Pin
Mazdak9-Apr-07 8:15
Mazdak9-Apr-07 8:15 
GeneralRe: how i can know that the user is loged on in other client Pin
Not Active9-Apr-07 10:35
mentorNot Active9-Apr-07 10:35 
QuestionProblem with Frame Pin
Jeeva Mary Varghese9-Apr-07 4:06
Jeeva Mary Varghese9-Apr-07 4:06 
AnswerRe: Problem with Frame Pin
Sathesh Sakthivel9-Apr-07 4:29
Sathesh Sakthivel9-Apr-07 4:29 
AnswerRe: Problem with Frame Pin
Vasudevan Deepak Kumar9-Apr-07 6:10
Vasudevan Deepak Kumar9-Apr-07 6:10 
QuestionI have stored all my files in the database as bytes. And i use response.outputstream.write to display those files. I want to disable the right click option on the particular .aspx file which displays the file. How do i achieve it. Pin
mak15019-Apr-07 4:03
mak15019-Apr-07 4:03 
AnswerRe: I have stored all my files in the database as bytes. And i use response.outputstream.write to display those files. I want to disable the right click option on the particular .aspx file which displays the file. How do i achieve it. Pin
Vasudevan Deepak Kumar9-Apr-07 6:11
Vasudevan Deepak Kumar9-Apr-07 6:11 
Questionproblem in crystal report Pin
Shuaib wasif khan9-Apr-07 3:36
Shuaib wasif khan9-Apr-07 3:36 

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.