>If someone goes to the About, Help, or Contact page from anywhere in the
>site (they are universal jump points on our site) I'd like the user to go
>back to their previous page instead of some fixed point.
>

you might want to store the page you are coming from by calling something
like the below befor your return "About", "Help" or "Contact".

//session.wos
id returnPage;

// ...

- storeReturnPage
{
    [self setReturnPage:[[self context] page]];
}


In "About", "Help" or "Contact" you can let some - goBack method return
[[self session] returnPage] to go to the previous (stored) page.

[stf]


s t e f a n . b e r r e t h   -   [EMAIL PROTECTED]

pgp key at http://pgp5.ai.mit.edu
key fingerprint: AB14 A3F2 E163 ADA2 6444 9AC6 2942 518E 3F78 4FAF

Reply via email to