Avatar of CGIACCOUNT
CGIACCOUNT

asked on 

Delete History

Hi, I would like destroy the history (windows.history).
Because my program show the last list (no refresh)...

I try window.location.replace... but it doesn't work...

Thank a lot

Alex
.NET ProgrammingASP.NET

Avatar of undefined
Last Comment
CGIACCOUNT
Avatar of CGIACCOUNT
CGIACCOUNT

ASKER

It's not in ASP.NET but in Javascript...

Sorry...

When I delete the cache of my browser, my list it's correct.

I try window.location.href, window.navigate with no result...

Somebody have a idea ?

Alex
Avatar of CGIACCOUNT
CGIACCOUNT

ASKER

I try to replace with response.sendRedirect but it's in ASP not in Javascript
SOLUTION
Avatar of prairiedog
prairiedog
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of CGIACCOUNT
CGIACCOUNT

ASKER

How I can refresh my site ?

Why the list is correct when I delete my browser ?

Alex
SOLUTION
Avatar of prairiedog
prairiedog
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
Avatar of CGIACCOUNT
CGIACCOUNT

ASKER

I have this code... and maybe is my object oXml who doesn't work...
Or maybe not...
I try window.navigate but is the same result.
My list is a object XML "oXML = new ActiveXObject("MSXML2.DOMDocument");"

Alex
	if (DoValidation() == false)
		return;
	else
	{	
		xNode.setAttribute("itemOne") =D.itemOne.value;
		
		var oHTTP = new ActiveXObject("Microsoft.XMLHTTP");
		oHTTP.Open("POST", "SaveOrderItem.asp?type=add", false);
        
                oXML.async = false;
		oHTTP.send(oXML);
		if (iResponse =="OK" ) 
		{
		    window.location.replace ("LastPage.asp);
		}
		else
			alert(oHTTP.responseText);
 
		delete oHTTP;
         }

Open in new window

Avatar of CGIACCOUNT
CGIACCOUNT

ASKER


window.location.replace ("LastPage.asp");

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of CGIACCOUNT
CGIACCOUNT

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
.NET Programming
.NET Programming

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.

137K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo