..oO(AngryCloud)
Quote:
My entire site is based off a single index page, in which there is always a
'log in' area to the left if no user is currently logged in.
For my user pages, I use a PHP script to rewrite the URL from
'mydomain.com/index.php?page=user&id=123' to 'mydomain.com/username'.
After implementing the rewrite script, I can no longer log in while on a user
page. It seems to process the login script just fine, considering it redirects
back to the right page, but for some reason the session variables are not set. |
Are you using URL-based sessions instead of cookies? If yes, you have to
manually append the session ID to it if you perform any redirects or
things like that. But that's just guessing, since you didn't post any
code. How's that "rewriting" done?
Micha