Click here to Skip to main content
15,917,568 members
Home / Discussions / Web Development
   

Web Development

 
Questionlogin control not redirecting to previous page after login Pin
Nico Haegens3-May-14 10:37
professionalNico Haegens3-May-14 10:37 
So, I have forms authentication setup with Web.config, an asp.net logincontrol, custom membershipprovider, custom roleprovider. Login custom, I used the templates of the logincontrol, but doubt that is the issue.
So here is what happens:
1. I surf to page where I need authorized access. I get redirected to login page, including the redirecturl in the querystring of the login address. So far so good.
2. I log in, my custom membership provider does the ValidateUser perfectly. So far so good.
3. Nothing happens after that. No exception, just nothing. Not so good.

Please help.

Below is relevant part in my Web.config:
XML
<authentication mode="Forms">
  <forms loginUrl="https://localhost:44301/login/Login.aspx" protection="All" timeout="30" name=".ASPXAUTH" path="/" requireSSL="true"
         slidingExpiration="true" defaultUrl="Default.aspx" cookieless="UseDeviceProfile" enableCrossAppRedirects="false"/>
</authentication>
<authorization>
  <deny users="?"/>
</authorization>
<roleManager enabled="true" defaultProvider="KeetingRoleProvider">
  <providers>
    <clear/>
    <add name="KeetingRoleProvider" type="Web.KeetingRoleProvider"/>
  </providers>
</roleManager>
<membership defaultProvider="KeetingMembershipProvider">
  <providers>
    <clear/>
    <add name="KeetingMemberShipProvider" type="Web.KeetingMembershipProvider"/>
  </providers>
</membership>

AnswerRe: login control not redirecting to previous page after login Pin
Kornfeld Eliyahu Peter4-May-14 23:44
professionalKornfeld Eliyahu Peter4-May-14 23:44 
GeneralRe: login control not redirecting to previous page after login Pin
Nico Haegens5-May-14 0:08
professionalNico Haegens5-May-14 0:08 
GeneralRe: login control not redirecting to previous page after login Pin
Kornfeld Eliyahu Peter5-May-14 0:12
professionalKornfeld Eliyahu Peter5-May-14 0:12 
Questionhelp with making inner table borders white Pin
Nico Haegens1-May-14 5:34
professionalNico Haegens1-May-14 5:34 
AnswerRe: help with making inner table borders white Pin
Richard Deeming1-May-14 6:00
mveRichard Deeming1-May-14 6:00 
GeneralRe: help with making inner table borders white Pin
Nico Haegens1-May-14 6:20
professionalNico Haegens1-May-14 6:20 
GeneralRe: help with making inner table borders white Pin
Richard Deeming1-May-14 6:27
mveRichard Deeming1-May-14 6:27 
GeneralRe: help with making inner table borders white Pin
Nico Haegens1-May-14 7:00
professionalNico Haegens1-May-14 7:00 
Questionhelp with CSS Pin
Jassim Rahma30-Apr-14 12:44
Jassim Rahma30-Apr-14 12:44 
AnswerRe: help with CSS Pin
vbmike3-May-14 12:13
vbmike3-May-14 12:13 
QuestionHow do I extract contents of php file and dump into a variable called aaData? Pin
samflex30-Apr-14 7:12
samflex30-Apr-14 7:12 
QuestionOwin Pin
ernest_hemingway07730-Apr-14 2:56
professionalernest_hemingway07730-Apr-14 2:56 
Questionwhat & how to prepare for ASP.net and php interview in one month Pin
Akash Tripathi29-Apr-14 4:03
Akash Tripathi29-Apr-14 4:03 
SuggestionRe: what & how to prepare for ASP.net and php interview in one month Pin
Richard Deeming29-Apr-14 4:40
mveRichard Deeming29-Apr-14 4:40 
QuestionAbout PHP and ASP Discussion Pin
Abhinandan Nimsarkar29-Apr-14 0:35
Abhinandan Nimsarkar29-Apr-14 0:35 
AnswerRe: About PHP and ASP Discussion Pin
thatraja29-Apr-14 2:28
professionalthatraja29-Apr-14 2:28 
GeneralRe: About PHP and ASP Discussion Pin
Abhinandan Nimsarkar29-Apr-14 2:57
Abhinandan Nimsarkar29-Apr-14 2:57 
GeneralRe: About PHP and ASP Discussion Pin
thatraja29-Apr-14 3:33
professionalthatraja29-Apr-14 3:33 
QuestionMy data is not loading into another tab when clicked. Any ideas? Pin
samflex28-Apr-14 17:00
samflex28-Apr-14 17:00 
QuestionServer returned HTTP response code: 403 for URL: ....? Pin
Hy Chanhan28-Apr-14 16:40
professionalHy Chanhan28-Apr-14 16:40 
AnswerRe: Server returned HTTP response code: 403 for URL: ....? Pin
Kornfeld Eliyahu Peter28-Apr-14 21:55
professionalKornfeld Eliyahu Peter28-Apr-14 21:55 
QuestionHELP Coding search button in VB Pin
ynettep28-Apr-14 14:21
ynettep28-Apr-14 14:21 
AnswerRe: HELP Coding search button in VB Pin
Richard Andrew x6428-Apr-14 14:49
professionalRichard Andrew x6428-Apr-14 14:49 
GeneralRe: HELP Coding search button in VB Pin
ynettep28-Apr-14 15:06
ynettep28-Apr-14 15:06 

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.