On Thu, 30 May 2002, Jason Tobias wrote:
> When a user submits a form, it redirects them to login if they are not
> logged in.
> Once the user logs in. I want to redirect them to the form that they
> originaly filled out.
> I can define a static redirect and that works fine, just not very practical.
> Is there any way to do this?
The easiest thing is probably to rework your login mechanism so that it
can just be included at the top of each PHP file. That way all your
variables remain in context - you can just post them from page to page in
a big serialized array, or whatever.
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php