[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Problems with document() [PHP5, libxslt]

Subject: Problems with document() [PHP5, libxslt]
From: Phillip Oldham <phillip.oldham@xxxxxxxxxx>
Date: Wed, 03 Aug 2005 17:18:31 +0100
libxslt php5
Hi all

I'm trying to use the document() function to grab some XML nodes from a
web application I've built. I'm grabbing from two places: a news page
(insecure) and a user's profile page (secure).

I'm having no problems with the insecure news page, everything is being
grabbed and used correctly.

The secure user's profile page, however, is another matter. The webapp
uses cookies to maintain the user's session, and keeps them
authenticated. Accessing the page without being authenticated (having
the cookie set) forwards the user to a login page. This is what happens
when I grab the page using XSL's document() function.

I've tried to "pick-up" the session by passing the session information
in the GET parameters, and I'm getting a strange error: It seems that
the processor is going into a loop.

I'm pretty sure sessions aren't the problem though, as a new session is
started when ever the webapp is accessed. New sessions are started for
the news page and the login page, and things run fine.

Could there be something I'm missing with the authenticated session?

I'm using PHP5, with the built-in processor (libxslt).

Thanks!

Phill

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.