I have implemented SSL in one of our product. After implementing SSL, session id is being created newly every time the page is accessed. Session ID generated for default,login and home page are different.
Interestingly this is working in testing environment but not on the Production environment
Please help me on this.
Regards,
Thiru
Always remember to click “Mark as Answer” on the post that helps you. Thank you!
Initailly worked in both the envrionment when configured for IP address once we assigned a CNAME aliases to the site, it went off. I was able to open the sites, but the session is created newly for every page. Session is not maintained.
Rgds,
Thiru
Always remember to click “Mark as Answer” on the post that helps you. Thank you!
Found that the issue is with the character "_" in the dns name used to access the website in the production environment. Removed underscore from the dns name and it started to work fine.
i couldn't believe my eyes...
Thanks..
Always remember to click “Mark as Answer” on the post that helps you. Thank you!
-----------
Cheers,
atlasnetguy
Marked as answer by atlasnetguy on Jun 29, 2012 04:51 AM
atlasnetguy
Member
406 Points
76 Posts
Session with SSL
Apr 30, 2012 07:26 AM|LINK
Hi All,
I have implemented SSL in one of our product. After implementing SSL, session id is being created newly every time the page is accessed. Session ID generated for default,login and home page are different.
Interestingly this is working in testing environment but not on the Production environment
Please help me on this.
Regards,
Thiru
-----------
Cheers,
atlasnetguy
BrockAllen
All-Star
27516 Points
4898 Posts
MVP
Re: Session with SSL
Apr 30, 2012 04:49 PM|LINK
Working in testing with SSL or without?
DevelopMentor | http://www.develop.com
thinktecture | http://www.thinktecture.com/
atlasnetguy
Member
406 Points
76 Posts
Re: Session with SSL
May 02, 2012 08:51 AM|LINK
Working in testing enviroment with SSL !!!
Initailly worked in both the envrionment when configured for IP address once we assigned a CNAME aliases to the site, it went off. I was able to open the sites, but the session is created newly for every page. Session is not maintained.
Rgds,
Thiru
-----------
Cheers,
atlasnetguy
roopeshreddy
All-Star
20143 Points
3327 Posts
Re: Session with SSL
May 02, 2012 09:03 AM|LINK
Hi,
Sessions should work irrespective whether SSL is enabled or not!
Just for clarification, in your hosting environment, is session working with out SSL?
Hope it helps u...
Roopesh Reddy C
Roopesh's Space
atlasnetguy
Member
406 Points
76 Posts
Re: Session with SSL
May 02, 2012 09:07 AM|LINK
-----------
Cheers,
atlasnetguy
roopeshreddy
All-Star
20143 Points
3327 Posts
Re: Session with SSL
May 02, 2012 09:13 AM|LINK
Hi,
Check the below link!
http://stackoverflow.com/questions/2817325/retrieve-ssl-session-id-in-asp-net
Hope it helps u...
Roopesh Reddy C
Roopesh's Space
atlasnetguy
Member
406 Points
76 Posts
Re: Session with SSL
May 02, 2012 09:21 AM|LINK
I cannot switch to other session modes.
-----------
Cheers,
atlasnetguy
atlasnetguy
Member
406 Points
76 Posts
Re: Session with SSL
Jun 29, 2012 04:50 AM|LINK
Hi All,
Found that the issue is with the character "_" in the dns name used to access the website in the production environment. Removed underscore from the dns name and it started to work fine.
i couldn't believe my eyes...
Thanks..
-----------
Cheers,
atlasnetguy