Jump to content

Recommended Posts

just put session_start(); at the beginning of your script. It tells php that you have a session going on (or to start one, if you don't).

[code]
<?php
  session_start();
  $_SESSION['blah'] = 'something';

  echo $_SESSION['blah']; // output: something
?>
[/code]

you need to have session_start(); on every page you wish to access your session vars

if it is still echoing out nothing, then I would check your $to and $subject to see if they are holding what you are expecting them to hold.
okay first you say it's on another page, now you say it's on another server? If you expect results, try starting with non-vague questions/descriptions.

no, you cannot pass a session from one server to another.  Well actually, you can, but I have a sneaking suspicion that that circumstance does not apply to you.  So no.
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.