Jump to content
Killersites Forums

PHP - SESSIONS - SUBDOMAINS


Recommended Posts

Just wondering if anyone ever tackled this? Passing logged in information across subdomains.

 

Session info is not carried across sub-domains. So am just wondering how others have tackled this?

 

I wanted to use subdomains like Craigslist and other sites do, to handle Major locations as in NYC.domain.com, losangeles.domain.com and so on....

 

Am forever a newbie:)

 

Am creating a site called thetommer.com, pretty much like craigslist, gets old just reading about php and mysql, I figure might as well do a pet project. And since I got layoff, I have plenty of free time.

 

thanks

rudy

Link to post
Share on other sites

OK, nevermind, I decided to go with subfolders, for each city

 

Don't feel like writing a script to track logged user nor sessions. Besides, am not sure of the effect of Interlinking subdomains. Am afraid google might flag it is as some kind of spam.:cool:

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...