There an url https://www.example.com/rtu_s1/login/signupcomplete.php and when I copy and past in the another tab and press enter then url become https://example.com/rtu_s1/login/signupcomplete.php and the session is not set ….how to make the session set for both ?
There an url https://www.example.com/rtu_s1/login/signupcomplete.php and when I copy and past in the another tab
Share
I suppose your server config separates demo.com and http://www.demo.com in different VHOSTS. Make sure you use only demo.com (in redirects and links) or http://www.demo.com, either… or reconfigure your server so http://www.demo.com to be on the same VHOST (alias).
Instead of two VHOSTS using one with alias. For apache2 site should be like: