|
| |
|
|
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
|
|
|
|
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
|
|
|
|
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).
|
|
|
|
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
|
|
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
|
|
|