Solved

Email form based on form field results

Posted on 2003-10-25
3
237 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:
Saqib Khan 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

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

Suggested Solutions

I still run into .cgi files every now and then. In some instances, I actually prefer the simplicity of a .cgi script to other options. Since I use DreamWeaver extensively, what I needed was a way to open .cgi scripts in Dreamweaver. And I wanted to …
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…

831 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