List Info

Thread: Authorize and go to requested page




Authorize and go to requested page
user name
2006-09-22 16:26:01
Hi listmembers

Is there any non-ugly way to have Eventum remember which
page someone
tried to reach when not authorized properly?

What i want to do is this:
1/ User request a page
2/ User not logged in, redirect to
login/index/choose_project
3/ Authorize and if needed choose project
4/ Return to requested page from step 1 above, in the
choosen project.


+-------------------------------------------------------+
  Jostein Martinsen
  Developer (PHP and so on). Linux
  Redpill. AB 
  Tel: 0734-241 475
  E-mail: jostein.martinsenredpill.se
 

-- 
Eventum Users Mailing List
For list archives: http://lists.mys
ql.com/eventum-users
To unsubscribe:    http:
//lists.mysql.com/eventum-users?unsub=bondyahoo.com

Authorize and go to requested page
user name
2006-09-26 16:05:04
Hi Jostein,

Jostein Martinsen wrote:
> Hi listmembers
> 
> Is there any non-ugly way to have Eventum remember
which page someone
> tried to reach when not authorized properly?
> 
> What i want to do is this:
> 1/ User request a page
> 2/ User not logged in, redirect to
login/index/choose_project
> 3/ Authorize and if needed choose project
> 4/ Return to requested page from step 1 above, in the
choosen project.

This is how it is supposed to work currently. I request 
/eventum/list.php, I am redirected to 
/eventum/index.php?err=5&url=%2Feventum%2Flist.php, then
to 
/eventum/select_project.php?url=%2Feventum%2Flist.php and
finally to 
/eventum/list.php

Is this not happening for you?

Best Regards,
-- 
Bryan Alsdorf, Manager of Support Systems
MySQL AB, www.mysql.com

Are you MySQL certified?  www.mysql.com/certification

-- 
Eventum Users Mailing List
For list archives: http://lists.mys
ql.com/eventum-users
To unsubscribe:    http:
//lists.mysql.com/eventum-users?unsub=bondyahoo.com

Authorize and go to requested page
user name
2006-09-26 16:17:27
On Tue, 26 Sep 2006 11:05:04 -0500
Bryan Alsdorf <bryanmysql.com> wrote:

> Hi Jostein,
> 
> Jostein Martinsen wrote:
> > Hi listmembers
> > 
> > Is there any non-ugly way to have Eventum remember
which page
> > someone tried to reach when not authorized
properly?
> > 
> > What i want to do is this:
> > 1/ User request a page
> > 2/ User not logged in, redirect to
login/index/choose_project
> > 3/ Authorize and if needed choose project
> > 4/ Return to requested page from step 1 above, in
the choosen
> > project.
> 
> This is how it is supposed to work currently. I request

> /eventum/list.php, I am redirected to 
> /eventum/index.php?err=5&url=%2Feventum%2Flist.php,
then to 
> /eventum/select_project.php?url=%2Feventum%2Flist.php
and finally to 
> /eventum/list.php
> 
> Is this not happening for you?
> 
> Best Regards,


Nope, not on my workstation, but the same code works on one
of our
servers as expected. I get a 11 about cookies being
disabled.



+-------------------------------------------------------+
  Jostein Martinsen
  System developer, Redpill AB
  Tel: 0734-241 475, 054-4005 142 
  E-mail: jostein.martinsenredpill.se
 

-- 
Eventum Users Mailing List
For list archives: http://lists.mys
ql.com/eventum-users
To unsubscribe:    http:
//lists.mysql.com/eventum-users?unsub=bondyahoo.com

Authorize and go to requested page
user name
2006-09-26 17:07:24
Hi,

Jostein Martinsen wrote:
<snip>
> Nope, not on my workstation, but the same code works on
one of our
> servers as expected. I get a 11 about cookies being
disabled.

Does your workstation have a real domain name, or just a
machine name? 
Some browsers have problems with _ (underscore) in the host
name. Also, 
do you have the constant 'APP_COOKIE_DOMAIN' set in
config.inc.php?

/bryan

-- 
Eventum Users Mailing List
For list archives: http://lists.mys
ql.com/eventum-users
To unsubscribe:    http:
//lists.mysql.com/eventum-users?unsub=bondyahoo.com

[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )