Connecting Tech Pros Worldwide Forums | Help | Site Map

Persist session after email verification

Member
 
Join Date: Nov 2007
Location: Kathmandu, Nepal
Posts: 68
#1: Jan 6 '09
I have used cookieless mode of ASPState sql server session mode. I have used the CreateUserWizard to register user in the web site. And users must click the email verification link before being activated. This all works well. But i need to retrieve the whole session [shopping cart] when user opens the site by clicking the email verification link. I can not use the cookieless mode of session, this is requirement , which in fact solves the problem. So i am looking for the appropriate idea. Please help. Thanks in advance.

Regards,
Sangam

Frinavale's Avatar
Site Moderator
 
Join Date: Oct 2006
Location: The Great White North
Posts: 5,137
#2: Jan 6 '09

re: Persist session after email verification


Quote:

Originally Posted by sangam56 View Post

I have used cookieless mode of ASPState sql server session mode. I have used the CreateUserWizard to register user in the web site. And users must click the email verification link before being activated. This all works well. But i need to retrieve the whole session [shopping cart] when user opens the site by clicking the email verification link. I can not use the cookieless mode of session, this is requirement , which in fact solves the problem. So i am looking for the appropriate idea. Please help. Thanks in advance.

Regards,
Sangam

Check out this article.

-Frinny
Member
 
Join Date: Nov 2007
Location: Kathmandu, Nepal
Posts: 68
#3: Jan 7 '09

re: Persist session after email verification


Thank you for the link. But I could not get how it would solve my problem. I have already used the SQL Server mode of session, and i am using cookiee mode. THe only problem is to browse all browsers under the same session in a machine. Currently different browser has it's own session. For example, if a user shops in IE, and registers to the site, and clicks the registration confirmation link which opens the application in Firefox, then the session variable can not be retrieved from the IE to this newly opened firefox browser. What could be the solution? Help please.
Lives Here
 
Join Date: Sep 2006
Posts: 12,070
#4: Jan 7 '09

re: Persist session after email verification


That's because sessions use cookies which store data in the browser. A different browser would not have that data. You have to store all the information on the server side if you want it to be available accross different browsers.
Member
 
Join Date: Nov 2007
Location: Kathmandu, Nepal
Posts: 68
#5: Jan 19 '09

re: Persist session after email verification


I have got around the problem with the following:
Persist session after user is verified by clicking verification email in CreateUserWizard and ASPState session - ASP.NET Forums

Thank you all!
Reply


Similar ASP.NET bytes