I am a newbie in this area.
I am trying to process CC transaction using SSL. So I am going from http to https
but all my session vars (like ShoppingCartID, Login, etc ) are gone and https redirect
me to login page even though I am already login.
I am using DB to check the validity of the login and stored the login info in session:
Session{"login"] = true;
I tried using FormAuthentication, but it still does not work. I was thingking of using viewstate
but you have to pass it from page to page.
The way it works, a user can login to the site at anytime, and browse the products and add
to the shopping cart (I used session ID as the shopping cart ID). Once he is ready to check out, it will check whether the user has been login or not and goes to https.
But https losing all session variables and thought that he is not login and redirect him to login page.
What is the good way to solve this problems?
Any thought is appreciated.
Rob