Welcome to Dream.In.Code
Getting PHP Help is Easy!

Join 105,763 PHP Programmers for FREE! Ask your question and get quick answers from experts. There are 1,697 online right now! We've got more than 500 tutorials and 2,000 snippets. Join and find out why Dream.In.Code is the #1 programming help community on the internet! Registration is fast and FREE... Join Now!



Sessions in multiple subdomains

 
Reply to this topicStart new topic

Sessions in multiple subdomains, Sessions work in the "my" subdomain, but not anywhere else

gadgetsguru
post 9 Jul, 2008 - 01:07 AM
Post #1


New D.I.C Head

*
Joined: 7 Oct, 2006
Posts: 11


My Contributions


I have a fully-functional members-only area on my website that works perfectly. The problem is that it only works in the "my" subdomain and the session variables can only be called in the "my" subdomain; not throughout any other part of the site. I need to have it set up so that all of my subdomains can use the session variables. Is there some sort of function that can fix this? Please help!!
User is offlineProfile CardPM

Go to the top of the page


ellisgl
post 15 Jul, 2008 - 10:55 AM
Post #2


D.I.C Head

**
Joined: 10 Nov, 2007
Posts: 56



Thanked 1 times
My Contributions


Make a central login script - ie www.monkey.com so xxx.monkey.com would have a form that would go to www.monkey.com/login.
Use hidden vars to tell the www.monkey.com/login script where it needs to be redirected on success and another for an after setting up the session page redirect..


Hopefully this vague post helps.
User is offlineProfile CardPM

Go to the top of the page

Fast ReplyReply to this topicStart new topic
Time is now: 8/21/08 01:39PM

Live PHP Help!

PHP Tutorials

Reference Sheets

PHP Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month