fp with asp forms

C

Cindy

I created an htm form, and it works fine - when i select submit it emails my results and executes my custom confirmation page
i want to also email the session id with the data from the form so i had to change to asp instead of ht
i saved the form as an asp file. i can display the session id on my web page that contains the for
1) my submit button does not submit my data anymore - it appears to clear the form and stay on the same page - any idea what is wrong
2) how do i send the sesson id value with the form data
thank you.
 
J

Jim Buyens

-----Original Message-----
I created an htm form, and it works fine - when i select
submit it emails my results and executes my custom
confirmation page. i want to also email the session id
with the data from the form so i had to change to asp
instead of htm i saved the form as an asp file. i can
display the session id on my web page that contains the
form
1) my submit button does not submit my data anymore - it
appears to clear the form and stay on the same page -
any idea what is wrong?
2) how do i send the sesson id value with the form data?

Unfortunately, the FrontPage component that sends form
results as mail is incompatible with the ASP processor.
Your choices therefore are:

o Have another page retrieve the session ID and
append it as a query string variable to the
URL that invokes your e-mail form page. Then, add
some JavaScript to the e-mail form page that
retrieves the session ID and stores it in a hidden
form field. Then, include the hidden form field
in your e-mail results.

o Forget using FrontPage to send the mail message,
and use ASP code instead.

FWIW, mailing out the ASP session IS seems like a very
strange thing to do. But I presume you have your reasons.

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top