tags:

views:

48

answers:

1

hi, i have logged a user into the app on the site and retrieved their details using EpiTwitter/Twtitter-Async. I then want to process these and others through an ajax call and post a new tweet on success.

Specificially, my problem lies with reusing the cookie, i see they are gettting set but i cannot see how to reuse them in later pages. what function do i call?

Thanks

A: 

In the php file that catches the ajax request you can access the cookie information in $_COOKIE. It should automatically be sent with the ajax request.

http://php.net/manual/en/features.cookies.php

abraham