For Programmers: Free Programming Magazines  


Home > Archive > ASP > July 2004 > Performing action before moving to another page









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Performing action before moving to another page
Serge Myrand

2004-07-12, 3:56 pm

Hi,

Is there a way to force a sub or a function to be executed before the
user to move to another ASP page?

In fact I want to update a basket (table) if the user wrote a quantity
for a product in the page. I want to avoid them to click for every
single product they add.

Any references will be appreciate
thank's in advance
serge

Curt_C [MVP]

2004-07-12, 3:56 pm

post back to the same page, or an intermediate page, do your saving, then
redirect to the final page

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com


"Serge Myrand" <info@softdelirium.qc.ca> wrote in message
news:40F2D5D4.540ECF4C@softdelirium.qc.ca...
> Hi,
>
> Is there a way to force a sub or a function to be executed before the
> user to move to another ASP page?
>
> In fact I want to update a basket (table) if the user wrote a quantity
> for a product in the page. I want to avoid them to click for every
> single product they add.
>
> Any references will be appreciate
> thank's in advance
> serge
>



Bullschmidt

2004-07-13, 8:55 pm

Perhaps this may hopefully give you some ideas:

Classic ASP Design Tips - Post Back Page
http://www.bullschmidt.com/devtip-postbackpage.asp

Best regards,
J. Paul Schmidt, Classic ASP Web Designer
http://www.Bullschmidt.com
Classic ASP Design Tips, ASP Web Database Demo, ASP Bar Chart Tool...


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com