Frank James
Frank James

Reputation: 157

asp.net redirection defect

I am working on asp.net application.the user is clicks on some link which is inside grid item template field. if he is not logged in then he redirects to login page. after log in he is properly coming back to same page;the problem is that "i have passed the value in querystring to the page where he click on the link and after loggedIn the grid is showing blank because that grid is not getting query string value" I think you understand my problem.plz share your helpful opinion.

Upvotes: 0

Views: 65

Answers (2)

IrishChieftain
IrishChieftain

Reputation: 15253

Store value in session and retrieve it after he gets back successfully from the login page.

Upvotes: 0

Lex Li
Lex Li

Reputation: 63143

http://www.aspdotnetfaq.com/Faq/what-is-the-difference-between-server-transfer-and-response-redirect-methods.aspx

It is not a defect, but the desired behavior of Response.Redirect.

Upvotes: 1

Related Questions