CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 Redirect User From Where They Came

Print topic Send  topic

Author Message
afrausto

Posts: 66
Posted: 09/29/2005, 5:21 PM

Hello,

Does anyone know how to dynamically redirect a user to where they came from once they update/insert/delete a record from a record form?

I have two pages, each page has a grid that displays data differently but contains a link to the same record form to update records. I'm trying to figure a way to send the user back to where they came from when they click on an action button.

Anyone have any suggestions?

Using CCS / Asp / MS Access

Thanks,
Albert
View profile  Send private message
dhodgdon

Posts: 80
Posted: 09/30/2005, 7:23 AM

You could use a URL parameter in the link to identify the page the user comes from. For the form, leave the Return Page parameter blank or set it to the name of the page the form is on and set the Preserve Parameters value to GET. Then in the Server After Update/insert/delete event for the form, test the URL parameter using the CCGetParam() function and redirect based upon its value.

There may be other ways.
_________________
Regards,
David Hodgdon
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.