๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: chile.comp.programacion
Article #2074

Evitar recarga de paginas

#2074
From: SorbitoL
Date: Wed, 12 Apr 2006 22:05
17 lines
1583 bytes
Holas:
Estoy haciendo una aplicacion web (usando php,mysql,xhtml,javascript) , que 
incluye varios formularios para mantener datos.

Me he dado cuenta de que al presionar el boton "recargar" del navegador 
cuando se esta en una pagina a la que se accedio
luego de enviar un Form, el navegador intenta enviar nuevamente los datos 
POST, lo cual me causa algunos problemas
en determinadas situaciones.

๏ฟฝExiste alguna forma (me imagino con JavaScript) de restringir o el uso del 
boton recargar, o bien tomar alguna medida para
evitar el reenvio de los datos POST cuando un usuario recargue una pagina?

gracias de antemano
Italo Neira
Technical Details
Message-ID: <e1jtkj$fv1$1@news.nivel5.cl>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!nntp-server.pubsub.com!news.nivel5.cl!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 1593cb,5c031e084ea2ac0a,start
X-Google-Attributes: gid1593cb,public
X-Google-Language: SPANISH,ASCII
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!nntp-server.pubsub.com!news.nivel5.cl!not-for-mail
From: "SorbitoL" <ineira@VETEERRE.NET>
Newsgroups: chile.comp.programacion
Subject: Evitar recarga de paginas
Date: Wed, 12 Apr 2006 18:05:56 -0400
Organization: Varios
Lines: 20
Message-ID: <e1jtkj$fv1$1@news.nivel5.cl>
Reply-To: "SorbitoL" <ineiraArrobavtrPuntonet>
NNTP-Posting-Host: pc-67-211-239-201.cm.vtr.net
X-Trace: news.nivel5.cl 1144879571 16353 201.239.211.67 (12 Apr 2006 22:06:11 GMT)
X-Complaints-To: news@news.nivel5.cl
NNTP-Posting-Date: Wed, 12 Apr 2006 22:06:11 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2670
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670
X-RFC2646: Format=Flowed; Original