473,320 Members | 1,952 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Resubmit w/o Browser Acceptance?

I'm editing existing code, where the user selects an item on Page1.asp and clicks submit. Page1 then calls Page2.asp which subsequently runs a query to validate the data selected (passed) from Page1. If it is duplicate data, a Javascript alert box is invoked, once the user the clicks "ok" on the alert Javascript attempts to redirect back to Page1 (so the user can reselect) but this process is halted by the browser ("The page you requested was created using information you submitted in a form. blah blah blah, To resubmit your information and view this Web page, click the Refresh button. ).

Is there anyway, using ASP to go back to Page1 w/o encountering the message from the browser and then having to have the user refresh

Thanks for your time and assistance.
Jul 19 '05 #1
1 1654
If you remove the javascript, your asp code can redirect using
Response.Redirect "TheOriginalPage.asp"

However, you will have to repopulate any fields that you wish to have
repopulated, and either pass the information in the querystring, or pass
some sort of identifier and repopulate based on that......

Response.Redirect "originalpage.asp?Field1=uservalue1&Field2=userval ue2"

OR
Response.redirect "originalpage.asp?UniqueID=abcdef"

"shawn" <an*******@discussions.microsoft.com> wrote in message
news:05**********************************@microsof t.com...
I'm editing existing code, where the user selects an item on Page1.asp and clicks submit. Page1 then calls Page2.asp which subsequently runs a query
to validate the data selected (passed) from Page1. If it is duplicate data,
a Javascript alert box is invoked, once the user the clicks "ok" on the
alert Javascript attempts to redirect back to Page1 (so the user can
reselect) but this process is halted by the browser ("The page you requested
was created using information you submitted in a form. blah blah blah, To
resubmit your information and view this Web page, click the Refresh
button. ).
Is there anyway, using ASP to go back to Page1 w/o encountering the message from the browser and then having to have the user refresh?
Thanks for your time and assistance.

Jul 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Bob Bedford | last post by:
I've a form wich point to itself in order to check if the compulsory values are filled. If they are, then I send an email. Now, I've seen that if you refresh the form (once the email is sent),...
6
by: Steve Jorgensen | last post by:
I'm posting this message for 2 reasons. First, I'm still pretty new and shakey to the whole Acceptance Testing thing, and I'm hoping for some feedback on whether I'm on the right track. Second,...
1
by: davidw | last post by:
This troubles me for a while. When user click back button and click submit button, I get the same data as user click refresh(it resubmit the page too). Is there a way to tell the difference? ...
13
by: Matt MC | last post by:
I want to create a routine that detects when the browser scroll/slider bar is moved, executing a JavaScript() function,.....is this possible at all?
38
by: Christoph Zwerschke | last post by:
In August 2001, there was a thread about the "Art of Unit Testing": http://groups.google.com/group/comp.lang.python/browse_frm/thread/aa2bd17e7f995d05/71a29faf0a0485d5 Paul Moore asked the...
1
by: Tina | last post by:
When I use Request.Browser.Cookies I always get true returned. Even when the browser has cookie acceptance turned off. Why? Thanks, T
5
by: dennis.mcknight | last post by:
I've created a simple guestbook and register user page, however when they are used and then re used quickly after, php doesn't seem to be getting the POST info again. For instance, if a user...
3
by: DrShift | last post by:
Hello!!! How I can resubmit form without pressing any links and buttons????
18
by: yashumrhsn | last post by:
can anyone help me to get userid and password from access database..then it compares the userid and password and opens a new from that shows the details from the database for that user..
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.