Skip to main content
  • Home
  • Drupal 教學
  • Portfolio
  • inmediahk.net
  • Training
  • About
Home ›› Drupal 教學 ›› Drupal 小技巧

Drupal multi site single sign on

  • View(active tab)
  • Revisions
-
Drupal
user
sign-on
JOE — Mon, 2010-03-22 20:05

EDIT: 2010-04-11 settings.php 的位置

同一個domain 之下使用多個 Drupal multi site 的時候,
可以共用同一組的user 是很簡單了
但login 了一個site 之後, 登入的狀態卻不能夠一直在不同的subdomain 使用

但服用以下之後就可以了: (在你的 sites/[folder]/settings.php 內, 原本注釋了的)

<?php
//settings.php
$cookie_domain = '.example.com';
?>
‹ Drupal .htaccess block file access up Drupal 系統設計的事前企劃要注意事項 ›

Related

  • Drupal 教學
  • Drupal Theming, 模版
  • Drupal 開發
  • Drupal, javascript 和jquery
  • 3. Drupal views theming 自定 views 模版教學(一)
Google

Recent Comments

Contributions

  • Moved imagefield cropping info into a ta...
  • Contribute Documentation: migrate module...
  • My two bits on Drupal Migrate user pictu...
  • Taking up imagefield_crop module as main...
  • Trying to help imagefield_crop module 7....
  • My little thoughts on features version u...
  • Feeds importer for formatted_numbers mod...
  • Feeds module 6.x, supports import UTF-8...
  • Updating views fields changes field alia...
  • [Contribution to module] CCK table field
  • [Contribution to Doc] Generate SSH keys...
  • [Contribution to Doc] Webform confirmati...
  • [Contributions to Drupal core] system_ip...

Languages

  • 繁體中文
  • English

導覽

  • Drupal 教學
  • 建站軟件
  • 基礎概念(08年3月更新)
  • cck(08年3月更新)
  • views
  • 改變顯示node 的方法

ABOUT ME

I am Joe, Director of http://www.documentonready.com
An professional consultant focus in
Drupal, develop modules, sites,
projects.
Subscribe

More

Recent content

  • Git push over proxy temperately
  • Bangkok chatuchak lockers
  • Rsync git diff files to external
  • Alter comments query to order by DESC
  • Adding open graph tags to node page
  • Moved imagefield cropping info into a ta...
  • Alter user profile page password fields...
  • Drupal commerce - Add to cart anonymousl...
  • Create Drupal commerce order programatic...
  • Drupal feeds module: FeedsProcessor with...
  • Audi Home of Quattro technical review
  • Hennessy Artistry 2013 technical review
  • Web dev's dilemma: integration reso...
  • Audi A3 Facebook app
  • Git autocomplete on Mac
  •  
  • 1 of 23
  • next ›