durusmail: quixote-users: Quixote and PHP interaction?
Quixote and PHP interaction?
2004-05-24
2004-05-25
2004-05-25
Quixote and PHP interaction?
Oscar Rambla
2004-05-25
On Monday 24 May 2004 15:46, Hugo van der Merwe wrote:
> This is all purely speculation on my part though, I see a PHPSESSID
> cookie, and I know a bit about Quixote web programming. Tie that
> together with a bit of logic and programming experience, and that is
> what I conclude.
>
> My thought experiments thus still lead to: - auto fill-in the login
> form from my Quixote code, adjusting the cookie as necessary and
> passing it on to the client - hoping PHP does not mind the login
> coming from localhost, and the rest of the interactions from the
> client, else mess with Gallery's session code, make it obtain its
> info from a DB, which can then be accessed/modified from Quixote as
> well. Problem with the latter approach might be that I might still
> not be able to get at the PHP session ID cookie from my Quixote app.
> It does look like it is global though (path is set to /) - so maybe
> it is possible?
>
> I hope someone with a little more experience can shed light, or confirm
> any of my suspicions here. If it sounds right, or sounds wrong, to
> anyone, feel free to inform me as such.
>
> Thanks,
> Hugo van der Merwe

I would take a look first at config.py to set up your cookie configuration
(SESSION_COOKIE_NAME, SESSION_COOKIE_PATH) properly.
Then at SessionManager in session.py to try to coordinate quixote session
persistence with Galery's. But I don't know nothing about Gallery at all.

Oscar Rambla



reply