navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

confirmation page URL

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> ASP and Database >> confirmation page URL
Page: [1]
 
sarge

 

Posts: 377
From: London England
Status: offline

 
confirmation page URL - 4/7/2008 12:07:49   
Hi-
I have a page that displays table records via a DRW.
At the bottom of the page, the visitor can add another record.
It's a bit like a blog.
That all works fine.

What I'd like is to have the page refresh when the new record is added, so the visitor can see his entry, placed within the table.
So, I thought the easy way would be to specify the same page for the confirmation page in the DRW.

Trouble is, the page has parameters ...asp?S=nnnn&P=xxxxx
I've tried every which way to specify these parameters in the confirmation page URL, but no luck.

So, I tried creating a new confirmation page that automatically went to window.history.go(-1).
That worked, but the page doesn't get refreshed, even with <meta...refresh..> in the head. The visitor has to do a refresh (F5) to see his entry placed in the table.
I'm running out of ideas...

This is so fundamental that it must have a simple answer, but I can't find it in the Outfront archives.
Can somebody please point me in the right direction??
Thanks,
Sarge
Spooky

 

Posts: 26599
Joined: 11/11/1998
From: Middle Earth
Status: offline

 
RE: confirmation page URL - 4/7/2008 15:52:36   
How amny parameters are in the URL and which are the important ones? (page no. most likely)
When the record is added currently - what is the confirmation URL?

_____________________________

If you arent part of the solution, then there is good money to be made prolonging the problem

§þ:)


(in reply to sarge)
sarge

 

Posts: 377
From: London England
Status: offline

 
RE: confirmation page URL - 4/7/2008 19:16:47   
Hi Spooky!

There's a test page HERE.
The page is normally accessed from a clicked link (not a form).
It's confirmation page is HERE.
At the moment it's just using history.go(-1) to go back.

The important parameters are S (the identifier) and P (a password).
S gets written out when a new line is added, but P does not. Therefore I need to pick up the parameters from the input querystring and somehow pass them to the confirmation page (which would simply be, ideally, the original page - track01.asp - so that it just gets re-displayed).

Sarge

(in reply to Spooky)
Spooky

 

Posts: 26599
Joined: 11/11/1998
From: Middle Earth
Status: offline

 
RE: confirmation page URL - 4/7/2008 20:18:25   
You are displaying the page with the DRW.
Are you also using the DRW to "Update" the record?

It seems it posts back to itself at track01.asp however the confirmation is track02.asp?

_____________________________

If you arent part of the solution, then there is good money to be made prolonging the problem

§þ:)


(in reply to sarge)
sarge

 

Posts: 377
From: London England
Status: offline

 
RE: confirmation page URL - 4/7/2008 21:00:10   
Yes, I'm using the DRW to insert new records.
Confirmation page track02.asp goes back to Track01.asp with history.go(-1).

(in reply to Spooky)
sarge

 

Posts: 377
From: London England
Status: offline

 
RE: confirmation page URL - 4/9/2008 8:34:51   
It's OK, I've got it working (by coding the insert, instead of using the DRW with confirmation page).
It would be nice to know if the DRW could handle that, but it's only academic now.
Sarge

(in reply to sarge)
Page:   [1]

All Forums >> Web Development >> ASP and Database >> confirmation page URL
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts