Re: Seaside.st - expiring problem

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: Seaside.st - expiring problem

cbeler
Philippe Marschall a écrit :

> 2007/9/12, Cédrick Béler <[hidden email]>:
>> Hi,
>>
>> When a page expire, and if a link is cliked then I get a Kom error page
>> saying:
>>
>>
>>   Error: "/seaside/seaside" not found.
>>
>>
>> As, it's mainly pages, is it possible to access the right page (the
>> clicked one) even if the session has expired ?
>
> Yeah, that should be the default behavior. What version of Seaside are
> you using?
>
sorry, I was not clear... I noticed this on the official seaside web site:
seaside.st... wich is Pier based...

also, I think error in the url should bring back to the home page and not
display the "Kom" error page... Now, for instance, typing the url
http://www.seaside.st/ert gives the page: "Error: "/seaside/ert" not
found."


Cédrick


_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Seaside.st - expiring problem

Lukas Renggli
> sorry, I was not clear... I noticed this on the official seaside web site:
> seaside.st... wich is Pier based...
>
> also, I think error in the url should bring back to the home page and not
> display the "Kom" error page... Now, for instance, typing the url
> http://www.seaside.st/ert gives the page: "Error: "/seaside/ert" not
> found."

This is Pier, not Kom. See PRPierMain>>#notFound:. Creating a subclass
you can easily show a different error message or redirect the user to
the home-page. See for example in the security package
PUPierMain>>#forbidden: displaying a login dialog in case the user is
not allowed to access the page.

Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside