Cookies and ViewTemplates

Author: Tripp W Black

Created: 08/26/1999 at 07:51 PM

 

Category:
Notes Developer Tips
ViewTemplates

Andrew Lawrence
on 05/18/98 at 04:32 PM
Domino Server -- HTML



Subject: RE: Can't use HTTP_Cookie on Viewtemplate???


Message Content:
I use HTTP_Cookie on $$ViewTemplates all the time. No problem. I have been using them on
Domino 4.6x servers, but I am sure they worked on 4.5x also. You may want to look elsewhere...

Where is the cookie being set? Cookies are relative to where they are set. For example, if the cookie
is set for

www.domain.com/yourdb.nsf/viewname/document

Then only documents in the /viewname/ structure will get the cookie. Views themselves will not get
this cookie because a view is reference off of the .nsf/ in the URL.

Anyway... just a suggestion. Hope you figure it out...

-- Andrew Lawrence
Tomax Technologies, Inc.

Response to: Can't use HTTP_Cookie on Viewtemplate???
Author:
Category:
Release:
Matt Silvers
on 05/18/98 at 07:49 PM
Domino Server -- HTML



Subject: RE: Can't use HTTP_Cookie on Viewtemplate???


Message Content:
Thanks Andrew,

I needed to add "path= /" to the cookie. Then all directories in this domain can read the cookie.

Matt


previous page