title: How to logout to the same URL from where it has been login in joomla
body: <p>I am logging in from one site and going into the second site. when i logout from the second site how do i return back to the same first site from where i have logged into the second site. can any one help me in this....</p>
  
  <p>I am trying to get the $sername=$_SERVER['REMOTE_live_site']; remote live site i.e first site live site value at the place whwre the logout button is used. but there i am not bale to get the first site live_site value.. how can i do this...</p>