website-deployment

How to share session among Multiple Domains on single asp.net website?

冷暖自知 提交于 2019-12-18 09:05:08
问题 I want to share session cookie among domains. I have more than one domain: - 1. mydomain.com 2. mydomain.fr 3. mydomain.de 4. mydomain.da ...and many other language based Now, I have single website deployed on a server. I want to share session among the different domains on the single website. How do I achieve this? I found on web <httpCookies domain=".mydomain.com" /> but it work with sub domains (like test.mydomain.com and secure.mydomain.com ) but not for the different domains. I also

Git for Websites / post-receive / Separation of Test and Production Sites

痴心易碎 提交于 2019-12-07 05:07:51
问题 I'm using Git to manage my website's source code and deployment, and currently have the test and live sites running on the same box. Following this resource http://toroid.org/ams/git-website-howto originally, I came up with the following post-receive hook script to differentiate between pushes to my live site and pushes to my test site: while read ref do #echo "Ref updated:" #echo $ref -- would print something like example at top of file result=`echo $ref | gawk -F' ' '{ print $3 }'` if [

Git for Websites / post-receive / Separation of Test and Production Sites

一个人想着一个人 提交于 2019-12-05 08:36:12
I'm using Git to manage my website's source code and deployment, and currently have the test and live sites running on the same box. Following this resource http://toroid.org/ams/git-website-howto originally, I came up with the following post-receive hook script to differentiate between pushes to my live site and pushes to my test site: while read ref do #echo "Ref updated:" #echo $ref -- would print something like example at top of file result=`echo $ref | gawk -F' ' '{ print $3 }'` if [ $result != "" ]; then echo "Branch found: " echo $result case $result in refs/heads/master ) git --work

How to share session among Multiple Domains on single asp.net website?

回眸只為那壹抹淺笑 提交于 2019-11-29 15:38:00
I want to share session cookie among domains. I have more than one domain: - 1. mydomain.com 2. mydomain.fr 3. mydomain.de 4. mydomain.da ...and many other language based Now, I have single website deployed on a server. I want to share session among the different domains on the single website. How do I achieve this? I found on web <httpCookies domain=".mydomain.com" /> but it work with sub domains (like test.mydomain.com and secure.mydomain.com ) but not for the different domains. I also tried <httpCookies domain=".mydomain." /> but by this session stopped working. Could anyone help me please?