Redirect with return

G

Guest

I've a classic ASP page and i need to Redirect from that page to an ASP.NET
page then get back to the classic ASP page (all without user intervention).
I can't use Server.Excute because it won't work with ASP and ASP.NET together.
Is there a way that I can return to the previous page in the code, without
using JavaScript?
 
S

Steven Cheng[MSFT]

Hi Toty,

In addition to the "urlReferrer" http header, you can also consider using
the url querystring to pass the original page's url to the target page( In
your case it is the ASP.NET page). Then, the ASP.NET page can get the url
path from the querystring, after it has done the work, it use this path to
redirect back to the original page.

Hope this also helps.

Regards,

Steven Cheng
Microsoft Online Community Support


==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================


This posting is provided "AS IS" with no warranties, and confers no rights.



Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top