Authlogic Single Access Token-Web Service Iphone app

Hi all
I am working on Rails 2 application where i need to provide
web services for iphone app.
I am using authlogic gem for authentication.For web services i am
using single access token(user_credentials=“XXXXXXXXX”).

Every thing is working fine except session[:something] for API

call.This session variable is not working for API call.This session
variable is not persisting.

 Is anyone used authlogic for API call on Rails application.Please

help me out this.

                           Thank you..