Link to home
Create AccountLog in
.NET Programming

.NET Programming

--

Questions

--

Followers

Top Experts

Avatar of UConn
UConn🇺🇸

How do I use back button on classic ASP back to .NET page?
I have a .NET web application written in VB.NET with a few classic ASP pages in it.
The issue has to do with the following 3 files:
1. .ASPX page
2. classic ASP page / processes and then redirects to page 3
3. classic ASP page

When a user clicks on a link in file 1:
a "session sharing" class creates hidden input fields for each member of the session collection in a dynamic form in memory and submits to file 2
File 2 is a classic ASP script that process the request object form fields and places them into the classic ASP session and redirects to file 3
The issue we need to resolve is how to go back to file 1 from file 3 when the user hits the back button in the browser while they are on file 3 (the classic ASP page).

Zero AI Policy

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.


Avatar of RDWaibelRDWaibel🇺🇸

use javascript

<a href="javascript: history.go(-2)">Back</a>

Avatar of UConnUConn🇺🇸

ASKER

That sounds like it would work, except that the solution needs to work with the browser's back button, not a "Back" link on the page.

Avatar of RDWaibelRDWaibel🇺🇸

ARG!

I would put a BACK button on the page and let me think about the other...

Reward 1Reward 2Reward 3Reward 4Reward 5Reward 6

EARN REWARDS FOR ASKING, ANSWERING, AND MORE.

Earn free swag for participating on the platform.


ASKER CERTIFIED SOLUTION
Avatar of RDWaibelRDWaibel🇺🇸

Link to home
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.
Create Account

Avatar of UConnUConn🇺🇸

ASKER

RDWaibel's comment about the 4guysfromrolla article solved our issue.
I didn't get a chance to post back that it solved it.
They should get credit.
Thanks.
.NET Programming

.NET Programming

--

Questions

--

Followers

Top Experts

The .NET Framework is not specific to any one programming language; rather, it includes a library of functions that allows developers to rapidly build applications. Several supported languages include C#, VB.NET, C++ or ASP.NET.