Click here to Skip to main content
15,890,185 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Dear Friends,

In the website when user log's in session is created and stored in cookie as well.
When the session is cleared, i am recreating the session with cookie value again.

I am creating the cookie value in
www.xyz.com
Can i use the same cookie value in its sub-domain but it different application to create the session using its cookie value.
abc.xyz.com

Kindly guide.

What I have tried:

I am storing the session value in cookie when an user logs in.
Posted
Updated 22-May-18 1:34am

1 solution

Save the cookies based on the subdomain and use the same.
I got the solution on my own.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900