Re: Trouble Setting Cookies

2010-08-16 Thread Gregory Lypny
Hi Andre and Jeff, Thank you for testing my site. I think the location of PUT NEW HEADER or PUT HEADER in relation ? or other PUT statements is, as you have mentioned, be the issue, although I can't say that I understand it yet. It may be why I have not been able to get Andre or John Craig's

Re: Trouble Setting Cookies

2010-08-15 Thread Andre Garzia
Go to http://pareto.on-rev.com/setcookie.irev This page has a one-button form that sets a cookie by calling a script called sSetCookie.irev. The cookie's name is testCookie and it's value is 666. Here is the script. ?rev put Set-Cookie: testCookie = 666 ;path=/ into theCookie put

Re: Trouble Setting Cookies

2010-08-15 Thread Jeff Massung
Just in case it hasn't been mentioned already (I haven't really been following the thread closely), put header has to be used before *any* other put commands. Jeff M. On Sun, Aug 15, 2010 at 6:35 PM, Andre Garzia an...@andregarzia.com wrote: Go to http://pareto.on-rev.com/setcookie.irev

Re: Trouble Setting Cookies

2010-08-15 Thread Andre Garzia
Jeff, If I remember correctly it can be used after some other put but not after the first ? sign, the first ? is what triggers the start of the output process by that time, all the put headers need to be in the output queue. :D On Sun, Aug 15, 2010 at 9:11 PM, Jeff Massung mass...@gmail.com

Re: Trouble Setting Cookies

2010-08-14 Thread Gregory Lypny
Subject: Re: Trouble Setting Cookies To: How to use Revolution use-revolution@lists.runrev.com Message-ID: aanlkti=aiuhsa2u2t0nnsqn6sd18svwa+ckdco=bt...@mail.gmail.com Content-Type: text/plain; charset=ISO-8859-1 Gregory, If possible, send me the url for the offending page, let me look

Re: Trouble Setting Cookies

2010-08-13 Thread Gregory Lypny
Hi Andre, Thanks for responding. I'm afraid I'm not familiar with curl. I installed FireBug but I'm not clear on how to use it. I'm not an experienced web developer. My server is On-Rev. This afternoon I tried something even simpler than before and that is a Submit button that executes

Re: Trouble Setting Cookies

2010-08-13 Thread Andre Garzia
Gregory, If possible, send me the url for the offending page, let me look at the headers. cookies are annoying believe me. For example, I think you might need a space between the colon and the cookie key name... (an instead of ) Andre On Fri, Aug 13, 2010 at 6:08 PM, Gregory Lypny

Trouble Setting Cookies

2010-08-12 Thread Gregory Lypny
Hello everyone, Having trouble setting my first cookies at On-Rev. My iRev script pulls in a page template and puts it into a variable called thePage. thePage starts with the usual stuff, such as !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN

Re: Trouble Setting Cookies

2010-08-12 Thread Andre Garzia
Gregory, Can you do a curl to your host and glue the answer? We need to check if the Set-Cookies headers are actually comming thru. Andre PS: Using firebug to inspect the request is also ok. On Thu, Aug 12, 2010 at 5:59 PM, Gregory Lypny gregory.ly...@videotron.cawrote: Hello everyone,