|
Re: Cookies/Session For PHP integration [message #242850 is a reply to message #242840] |
Fri, 15 June 2007 03:49 |
Eclipse User |
|
|
|
Originally posted by: jasonweathersby.alltel.net
Jim,
Take a look at this wiki page.
http://wiki.eclipse.org/index.php/Retrieve_Session_informati on_in_Script_%28BIRT%29
Jason
Jim wrote:
> I'm working on a PHP application that uses BIRT for it's reporting
> features. The problem is making sure that the reports only run for user
> who authenticated in the PHP application. I had looking at passing
> parameters in the URL that loads the report but I'm wondering if there
> is a way to work with cookies as an alternative.
>
> *Can I load cookies or read session data create by my application?
> *Better yet, how do I read this information in BIRT?
>
> My research leads me to believe that I create a script in the
> beforeFactory or initialize events. How to feed cookie/session values
> into parameters?
>
> //This appears to be a start now for specific cookies
> var request = reportContext.getHttpServletRequest();
>
|
|
|
Re: Cookies/Session For PHP integration [message #249755 is a reply to message #242850] |
Wed, 25 July 2007 15:48 |
Eclipse User |
|
|
|
Originally posted by: ian.munday.illumen.co.uk
Jim,
Did you get any where with this? I'm trying to do something very
similar to you, i.e. I have a PHP application which uses BIRT for
reporting and need to ensure reports only run for authenticated users.
Ian
Jason Weathersby wrote:
> Jim,
>
> Take a look at this wiki page.
> http://wiki.eclipse.org/index.php/Retrieve_Session_informati on_in_Script_%28BIRT%29
>
>
> Jason
>
> Jim wrote:
>> I'm working on a PHP application that uses BIRT for it's reporting
>> features. The problem is making sure that the reports only run for
>> user who authenticated in the PHP application. I had looking at
>> passing parameters in the URL that loads the report but I'm wondering
>> if there is a way to work with cookies as an alternative.
>>
>> *Can I load cookies or read session data create by my application?
>> *Better yet, how do I read this information in BIRT?
>>
>> My research leads me to believe that I create a script in the
>> beforeFactory or initialize events. How to feed cookie/session values
>> into parameters?
>>
>> //This appears to be a start now for specific cookies
>> var request = reportContext.getHttpServletRequest();
>>
|
|
|
Powered by
FUDForum. Page generated in 0.03456 seconds