Solved

Email form based on form field results

Posted on 2003-10-25
3
236 Views
Last Modified: 2010-04-25
Hi,
I have a Purchace Order form on my website that people from work enter data about things they need to purchase, they then put their info (i.e. Name, Department, etc) and then they choose the commodity supplier that they need to fill the order. It then sends an email to the commodity supplier and he clicks the link and it takes him to the form and he enters a quote for the product or service that was ordered.  I just put code in the email page to look for a value=true for one of the fields and if it finds a true to redirect to another page. It does redirect but it loses the session and when the end page link is clicked I get a BOF and EOF error because it lost the session info. My question is: "When a page is redirected doesn't it take the session variable with it? And if not how else can I achieve this?

Thank You
Lenny
**<E-Mail Removed By zenlion420 EE Page Editor>**
0
Comment
Question by:lamore
3 Comments
 
LVL 23

Accepted Solution

by:
adilkhan earned 250 total points
ID: 9620847
if you generate Session within Same Browser Window then you all Good. Sessions will Live through out the Website.
But if Browser window has been closed and reopened then you killed the Session.
Do Response.write SessionNAME to check if the Session is Alive.

Another Way could be PAss the Values with the String

<a href="nextPage?sesID=<%=rs("field")%>"> Next Page</a>

OR use Form Hidden field.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Adobe Dreamweaver CS5 is a WYSIWYG web page editor that has advanced HTML, CSS, and Javascript rendering functionality and is probably the most well-known HTML editor available. Much of Dreamweaver's appeal centers around the Design View interfac…
This article is very specific and is only intended to help if you are installing Dreamweaver 8 in a Windows 7 environment with Office 2007 installed.   I'm not sure why Microsoft tends to release OS' that should not be released but they do.  Windows…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now