Hi Koen,

So I was trying to make it work keeping the same session and overriding
refresh(), just because I want to keep the 'logged in state' of users.

So if I switch to having reload create new app instance, could you recommend
a way to remember the current user ? maybe custom cookies or something ?

Thanks heaps,
Matthew Sherborne

On Wed, Jun 22, 2011 at 4:51 PM, Koen Deforche <[email protected]> wrote:

> Hey Matthew,
>
> 2011/6/22 Matthew Sherborne <[email protected]>:
> > I would like to be able to render the right thing when someone just
> > navigates to http://my.app/some/place out of nowhere.
>
> Then you would need to check the WApplication::internalPath() in a new
> session.
>
> Alternatively you could ignore the internalPath() (as I suppose you do
> now) but then pretend an internal path change at the end of your
> application startup. That is the simplest solution, but at the
> potentially added cost of first creating the wrong widget hierarchy.
>
> Regards,
> koen
>
>
> ------------------------------------------------------------------------------
> Simplify data backup and recovery for your virtual environment with
> vRanger.
> Installation's a snap, and flexible recovery options mean your data is
> safe,
> secure and there when you need it. Data protection magic?
> Nope - It's vRanger. Get your free trial download today.
> http://p.sf.net/sfu/quest-sfdev2dev
> _______________________________________________
> witty-interest mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>
------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today.
http://p.sf.net/sfu/quest-sfdev2dev
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to