Forums
New posts
Search forums
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
C# Community
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
ASP.NET
Web Forms
[ASP.NET][VB.NET]Redirect Page after connexion
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Fruity, post: 2353, member: 902"] Hi, I have a asp.net application When one arrives on the site, as long as one is not connected one is considered anonymous For some page, it is necessary to be connected, for example I want to modify an account, the page checks if the user is not anonymous, and if so, transfer to a page of connection I seek to return the user after his authentification to return it in the page which has it to redirect Exemple Anonymous User Click on link modify_compte The modify_compte.aspx page, checks if it is connected If No connected, it redirects it towards login.aspx Code: Server.Transfer("./login.aspx") The user connects The login.aspx page redirects it towards the starting page: modify_compte.aspx, it can modify its account How I can recover the URL of the page which carried out the redirection?? In the page object, I have the URL of the page in progress I will be able to use a session object, but not very practical I sought on the Web, without success, all that I find it is the difference between server.transfer and response.redirect An idea, one suggestion, Thank you in advance [/QUOTE]
Insert quotes…
Verification
Post reply
ASP.NET
Web Forms
[ASP.NET][VB.NET]Redirect Page after connexion
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.
Accept
Learn more…
Top
Bottom