Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: ASP.NET
I am not seeing Returnurl in query string when I do click on log in I am modified loggedin event at login control. Is that the reason I am not able to maintain returnurl in the url when users go timeout? Please tell me how can I retrive returnURL in loggedin event? So that I can redirect the user to that page.
 
Please help its really very urgent.
Posted 2-Feb-13 8:19am
Comments
Sandeep Mewara at 3-Feb-13 3:16am
   
Without seeing related code snippet, it would be hard to comment for anyone. Did you follow the documented way to use the Login control?

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

You didn't Specify which kind of Authentication technique are you using.
But still using the following Code statement you can find the Return Url:
 
Request.Params["ReturnUrl"]
 
You can just write some code so that when time out Occurs you can Redirect the User to the Return Url Page using the Above Return Url
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 6,212
1 OriginalGriff 5,498
2 CPallini 2,473
3 Richard MacCutchan 1,627
4 Abhinav S 1,530


Advertise | Privacy | Mobile
Web02 | 2.8.140814.1 | Last Updated 3 Feb 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100