I am using the session manager which I found here:

http://code.google.com/p/google-api-adwords-php/source/browse/apps/sample-webapp/lib/SessionManager.php

And i store my AdwordsUser object in it like this:

// Store the AdWordsUser in session.
SessionManager::SetAdWordsUser($user);

But when I try to get out again:

$user = SessionManager::GetAdWordsUser($user);

I see:

Session Expired

It's really strange, I have tried to use my own sessions 
($_SESSION["adwordsUser"]) but it seems to be empty, I have found that I can 
store an oauth request token, have the user authenticate, and then when they 
come back it still exists inside the $_SESSION (after the user has been 
redirected away).

The file is located under Other/UseOAuth.php  (this file is where the token 
seems to be correctly stored) and the request (where I am getting the 
session Expired error) is in v201101/ in a file I made myself. Does the 
adwords library do something with the sessions (perhaps alter the 
session_save_path)?

If sessions aren't the best way to go, how do you suggest I transfer the 
oauth information to my request page?

Thank you!

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

Reply via email to