Jump to content


Photo

using sessions across subdomains


  • Please log in to reply
1 reply to this topic

#1 golfwebuk

golfwebuk
  • Members
  • PipPip
  • Member
  • 10 posts
  • LocationLondon

Posted 21 July 2006 - 08:51 AM

Hi Guys,

I want to be able to use sessions accross subdomains.  For example, if I register $_SESSION['member'] on members.domain.com, then I want that session to be available on domain.com.

Is this possible?

#2 hvle

hvle
  • Members
  • PipPipPip
  • Advanced Member
  • 667 posts
  • Locationmelbourne, Australia

Posted 21 July 2006 - 10:28 AM

yes, as long as it run by the same web server.
Life's too short for arguing.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users