• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 245
  • Last Modified:

Email form based on form field results

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
lamore
Asked:
lamore
1 Solution
 
Saqib KhanSenior DeveloperCommented:
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now