It sounds to me like you have a slight misunderstanding of how the runmode
is defined.
When the C::A request is launched, the runmode parameter is the runmode
that the client is requesting to go to, not the runmode it is coming from.
For example, if you have two paths into runmode C from runmodes A or B
(such as)...
A--+
|
+-->C
|
B--+
... then when you are entering runmode C, C::A does not know if you came
from runmode A, runmode B, or some other run mode FOO, unless the client
tells it where it came from (hidden parameters, REFERER, cookie, or some
other method - all client provided). C::A only knows that it is going into
runmode C.
If I am way off base, then so be it, and prune this branch of the
conversation :)
Brian
----
Brian T. Wightman
suppressed
414.524.4025
suppressed
e To: suppressed
cc: suppressed
07/16/2003 05:00 Subject: Re: [cgiapp] get_previous_runmode() ?
PM
Hi *,
[...]
>I'm sure that most of us have done something similar to remember the
previous
>run mode. If we ask C::A to remember this then it has to save the data
>somewhere (in a config file?) and this could get really hairy if you are
>running it under mod_perl since you get some else's previous run mode. I
wouldn't it be the same as to provide the current runmode?
>don't think C::A should be changed to try and accomodate this.
>Michael Peters
Bye.
Michael.
--
Michael Hirmke | Telefon +49 (911) 557999
Wilhelm-Spaeth-Strasse 52 | FAX +49 (911) 557664
90461 Nuernberg | E-Mail mailto:suppressed
| WWW http://www.hirmke.de/
---------------------------------------------------------------------
Web Archive: http://www.mail-archive.com/suppressed/
http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed
---------------------------------------------------------------------
Web Archive: http://www.mail-archive.com/suppressed/
http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.