Advertisement

04.17.2008 at 02:49PM PDT, ID: 23332669
[x]
Attachment Details

Get the previous page as a value

Asked by sl1nger in .NET, Programming for ASP.NET

Tags: aspx, .net

I have a page that logs out users from our web app.  I'd like to return the user to the last page they were on after loging out.  This would be the page before the logout page.  How can I get the previous page url and pass it as a value.  So, I can redirect the user back to that page.

For Instance...
They were on this page website.com/about_chips.aspx..
Then went to here... website.com/logout.aspx
Now I want them to be redirect back to website.com/about_chips.aspx (or whatever the previous page was)Start Free Trial
 
Keywords: Get the previous page as a value
 
Loading Advertisement...
 
[+][-]04.17.2008 at 03:02PM PDT, ID: 21381804

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.17.2008 at 03:15PM PDT, ID: 21381894

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.17.2008 at 05:08PM PDT, ID: 21382417

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.17.2008 at 05:10PM PDT, ID: 21382432

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: .NET, Programming for ASP.NET
Tags: aspx, .net
Sign Up Now!
Solution Provided By: ydramu
Participating Experts: 2
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628