Re: [Zope] Re: FSSession newbie problem

2000-06-12 Thread Marcello Lupo
Hi, well the system run now but as i told before if i put a dtml-call FSSession in all my pages, FSSession open one session for page everytime i load it. So the cart result everytime containing only the last item and the files created contain the values. If i put dtml-call FSSession only in the

Re: [Zope] Re: FSSession newbie problem

2000-06-12 Thread Hung Jung Lu
From: Marcello Lupo [EMAIL PROTECTED] Have some ideas to let the browser pass the cookie in a right way? I think we can work on the PATH but i don't know how. Okie, you have a cookie problem. You should definitely solve your cookie problem, if you can. But you can also use cookie-less sessions

Re: [Zope] Re: FSSession newbie problem

2000-06-09 Thread Pavlos Christoforou
On Fri, 9 Jun 2000, Marcello Lupo wrote: dtml-var "FSSession('carrello')"br It prints out "None" I supose you mean ...FSSession['carrello'] .. The FSSession is in the same folder of my two methods, may be this a problem? No it should not one. Probably the second method point to

Re: [Zope] Re: FSSession newbie problem

2000-06-09 Thread Pavlos Christoforou
On Fri, 9 Jun 2000, Marcello Lupo wrote: 1) Is necessary to call FSSession in every document of the site or is sufficient on the first page (home page of the e-com for example)? Becouse i noticed (obviously) that every time it open a file the HD. And i think this is a problem because

Re: [Zope] Re: FSSession newbie problem

2000-06-09 Thread Hung Jung Lu
From: Pavlos Christoforou [EMAIL PROTECTED] On Fri, 9 Jun 2000, Marcello Lupo wrote: 1) Is necessary to call FSSession in every document of the site Yes it is neccessary beacuse HTTP is stateless. It will only start a new session if FSSession cannot find a valid UID either through a cookie or

Re: [Zope] Re: FSSession newbie problem

2000-06-09 Thread Pavlos Christoforou
On Fri, 9 Jun 2000, Hung Jung Lu wrote: Pavlos: this is the part that is confusing to newbies. FSSession can be made in such a way that this initial call can be avoided. HappySession works that You are right. There is no real need for the initial call. It was initially designed like this