TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Dhilip Kannan
NA
3
0
To make user come back to the same page after login
Apr 26 2012 9:04 AM
Dear all,
Suppose we have many pages in our application and we are allowing the user to view few contents in the page without login and wanted to redirect to the same page if user wish to login to view complete information.
Like
If a user has come to the website and opened some page. Now if they login to the website, the same page should be opened.
How to do this .please send me the code in C# web application.I have tried using this code.Like in Page2.aspx.cs:
Response.Redirect("Logon.aspx?ReturnUrl=Page2.aspx");
Again in Logon.aspx when i entered the user name it should redirect to the last page i.e. Page2.aspx.How to do this
Thanks In advance,
Dhilip
Reply
Answers (
1
)
testing 2010 C# web form application
How to Download attachment from pop3