ODBiC Discussion Board


Cookies

by Dave, November 3, 2005 19:05

I want to set a cookie with some information like siteID and line. I can get the cookie to set if I enter in the first value in the database from a form like SiteID = 28 and Line = 1. No other values will create a cookie, even though the values are in the database.

<!--IF $SiteNumber$ = $SiteID$ AND $LineNumber$ = $Line$--> <!--SETCOOKIE SiteID = $SiteNumber$ , EXPIRES = 20y--> <!--SETCOOKIE Line = $LineNumber$ , EXPIRES = 20y--> <!--ENDIF--> <!--ENDIF-->

This only works for the first rec in the database...

Dave


Replies:


Post Your Reply:

Name   
E-mail  optional
Topic  
Message:

HTTP Link: 
Link text: 

          


Copyright ©1997-2003, Roger Harris. All rights reserved.