Redirect to order.aspx after login successfull
-
Hello Everybody I have more than 20 pages on my application Example: default.aspx, product.aspx, order.aspx, login.aspx, resister.aspx, offer.aspx etc. Just think, A new customer visiting my website and likes some product from my website. He added some product on ShoppingBox. After that he clicked ORDER button. You know without logged in no one can place any order but that customer is totally new. So Customer need to resister first to logged in. Also he added some product on shopping chart. My question is: 1. After resister and logged in how can I send back that customer to order page 2. How can I show that shopping chart which customer is added Any solution !! Thanks Sarfaraj
Sarfarj Ahmed
-
Hello Everybody I have more than 20 pages on my application Example: default.aspx, product.aspx, order.aspx, login.aspx, resister.aspx, offer.aspx etc. Just think, A new customer visiting my website and likes some product from my website. He added some product on ShoppingBox. After that he clicked ORDER button. You know without logged in no one can place any order but that customer is totally new. So Customer need to resister first to logged in. Also he added some product on shopping chart. My question is: 1. After resister and logged in how can I send back that customer to order page 2. How can I show that shopping chart which customer is added Any solution !! Thanks Sarfaraj
Sarfarj Ahmed
typically, a login page takes the redirect page on the URL. And you'd store the cart contents in a cookie or the session, if they are logged in, or not.
Christian Graus Driven to the arms of OSX by Vista.
-
typically, a login page takes the redirect page on the URL. And you'd store the cart contents in a cookie or the session, if they are logged in, or not.
Christian Graus Driven to the arms of OSX by Vista.
Thanks for your quick reply. It does make sense.
Sarfarj Ahmed
-
Thanks for your quick reply. It does make sense.
Sarfarj Ahmed
But Just think abuot CodeProject.com I can logged in from anywhere on this site. Is their anything I can do: After Logged In page will be redirect to previous page Example: If i click login btn from product.aspx then login.aspx will come. After logged in page will be redirect to product.aspx waiting for your reply Thanks Sarfaraj
Sarfarj Ahmed
-
But Just think abuot CodeProject.com I can logged in from anywhere on this site. Is their anything I can do: After Logged In page will be redirect to previous page Example: If i click login btn from product.aspx then login.aspx will come. After logged in page will be redirect to product.aspx waiting for your reply Thanks Sarfaraj
Sarfarj Ahmed
Do it now. You'll see that CP does exactly what I was talking about. It redirects to the login page and passes to the login page, the page to go back to, on the URL. So, once you login, it reads that value and navigates back to that page.
Christian Graus Driven to the arms of OSX by Vista.
-
Do it now. You'll see that CP does exactly what I was talking about. It redirects to the login page and passes to the login page, the page to go back to, on the URL. So, once you login, it reads that value and navigates back to that page.
Christian Graus Driven to the arms of OSX by Vista.
thanks a lot i will let you know my result
Sarfarj Ahmed