Hello,
        I'm a developer moving from WebObjects to Tapestry/Cayenne platform.

I'd like to know the best aproach in Tapestry to handle a Cookie containing the visitor information.

        In webobjects I had in Session.java (equivalent to Visit.java):


    public void awake() {
                super.awake();
verifyVisitorCookie(context().request().cookieValueForKey ("visitorCookieForMySite"))
    }

public void appendToResponse(WOResponse aResponse, WOContext aContext) {
                super.appendToResponse(aResponse, aContext);
                renewVisitorCookie(aResponse);
    }

This way I could get the cookie information and initialize my visitor information whatever url was used to enter the website.

But I belive in Tapestry it is done by another aproach, maybe using hivemind.

Thanks for any assistance,

Bueno



_____________________________________________
Oswaldo V. C. Bueno - mailto:[EMAIL PROTECTED]
Technology - Phone: 55+11+3078+8557
Carpintaria do Software - http://www.carpintaria.com


Reply via email to