Forums

ASP

This topic is locked

Passing existing URL parameters on Login

Posted 08 Sep 2010 14:24:09
1
has voted
08 Sep 2010 14:24:09 Conor lawlor posted:
I am using ASP and vbscript and want to pass existing URL parameters when a customer logs in. It is for a shopping cart application. The customer has chosen the products to buy, then goes to the login page.i can redirect to Cart1.asp, but I want to redirect to cart1.asp?email=<%=(rsBookSession.Fields.Item("Email".Value)%>

Any ideas?

Replies

Replied 09 Sep 2010 20:46:02
09 Sep 2010 20:46:02 Natalie Patterson replied:
Create a hidden field with the users email address <%=(rsBookSession.Fields.Item("Email".Value)%>
in the login form to pass a cookie. Then request the cookie on your Cart1.asp page.

Reply to this topic