[Seaside] expiryPathFor:

Boris Popov boris at deepcovelabs.com
Wed May 14 17:32:38 UTC 2008


self session application

Cheers!

-Boris

-- 
+1.604.689.0322
DeepCove Labs Ltd.
4th floor 595 Howe Street
Vancouver, Canada V6C 2T5
http://tinyurl.com/r7uw4

boris at deepcovelabs.com

CONFIDENTIALITY NOTICE

This email is intended only for the persons named in the message
header. Unless otherwise indicated, it contains information that is
private and confidential. If you have received it in error, please
notify the sender and delete the entire message including any
attachments.

Thank you.

> -----Original Message-----
> From: seaside-bounces at lists.squeakfoundation.org [mailto:seaside-
> bounces at lists.squeakfoundation.org] On Behalf Of Randal L. Schwartz
> Sent: Wednesday, May 14, 2008 10:30 AM
> To: Richard K Eng
> Cc: Seaside - general discussion
> Subject: Re: [Seaside] expiryPathFor:
> 
> >>>>> "Richard" == Richard K Eng <richard.eng at rogers.com> writes:
> 
> Richard> In my Seaside app, I want to specify a particular URL to go
to in
> case the
> Richard> session expires. As far as I can tell, the way to do this is
to
> use
> Richard> #expiryPathFor: from WAApplication/WARegistry. However, I
don't
> know how to
> Richard> get at the WAApplication/WARegistry object for my app. Can
anyone
> tell me?
> 
> MyApp class>>#initialize
>   "self initialize"
>   | thisApplication |
>   super initialize.
>   thisApplication := self registerAsApplication: #myapplicationprefix.
>   " your code would go here "
>   thisApplication expiryPathFor: ...
> 
> or something like that (untested).  But that's where you can get at
> the application object.
> 
> --
> Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777
> 0095
> <merlyn at stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
> Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
> See http://methodsandmessages.vox.com/ for Smalltalk and Seaside
> discussion
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


More information about the seaside mailing list