Re: Setting cookies using WebDatablade.
Posted in 2003
Topics: Installation, Setup & Upgrades, Stored Procedures & SPL
What is the webserver? and what is cookie variable set to in your config. 4.10.UC1 is very old now and had a number of problems, I'd upgrade to 4.13.x If you print out $session.ID on both pages are they the same? If they aren't then the problem is how you are referencing across pages. Harry Johnson wrote: > > I am having a problem passing multiple cookies from one page to the > other. I am using web.4.10.UC1. With debug level of "-1", I can see > the cookies are being set in the driver log but when I display the > cookie, it is null. Has anyone had this problem? > > Thanks, -- Paul Watson # Oninit Ltd # Growing old is mandatory Tel: +44 1436 672201 # Growing up is optional Fax: +44 1436 678693 # Mob: +44 7818 003457 # www.oninit.com #
Paul Watson <paul@oninit.com> wrote in message news:<3FB0AF09.562F14F8@oninit.com>... > What is the webserver? and what is cookie variable set to > in your config. 4.10.UC1 is very old now and had a number > of problems, I'd upgrade to 4.13.x If you print out $session.ID > on both pages are they the same? If they aren't then the problem > is how you are referencing across pages. > > > Harry Johnson wrote: > > > > I am having a problem passing multiple cookies from one page to the > > other. I am using web.4.10.UC1. With debug level of "-1", I can see > > the cookies are being set in the driver log but when I display the > > cookie, it is null. Has anyone had this problem? > > > > Thanks, I forgot to tell you that I did not set the cookie variable. Should it be set? I thought it was to only limit cookie variables.
Sorry I meant the session variable, I'd normally set it to auto and let the system sort it out. If you set it to cookie then IE can/does have problems from time to time. I've never seen a Netscape problem. Using url seems to be the best for mobile phones. But like I said I just leave it at auto Is the session directory writeable/readable by the apache owner? Harry Johnson wrote: > > Paul Watson <paul@oninit.com> wrote in message news:<3FB0AF09.562F14F8@oninit.com>... > > What is the webserver? and what is cookie variable set to > > in your config. 4.10.UC1 is very old now and had a number > > of problems, I'd upgrade to 4.13.x If you print out $session.ID > > on both pages are they the same? If they aren't then the problem > > is how you are referencing across pages. > > > > > > Harry Johnson wrote: > > > > > > I am having a problem passing multiple cookies from one page to the > > > other. I am using web.4.10.UC1. With debug level of "-1", I can see > > > the cookies are being set in the driver log but when I display the > > > cookie, it is null. Has anyone had this problem? > > > > > > Thanks, > > I forgot to tell you that I did not set the cookie variable. Should > it be set? I thought it was to only limit cookie variables. -- Paul Watson # Oninit Ltd # Growing old is mandatory Tel: +44 1436 672201 # Growing up is optional Fax: +44 1436 678693 # Mob: +44 7818 003457 # www.oninit.com #