Re: Passing Variables in a non-CGI LC Server?

2017-04-10 Thread Rick Harrison via use-livecode
Hi Mike, Thanks, I’ll check it out! Rick > On Apr 10, 2017, at 1:22 PM, Mike Bonner via use-livecode > wrote: > > If you're interested in trying session variables again, I got word back > that the issue I was having is fixed in 8.1.4 rc1 and it does indeed

Re: Passing Variables in a non-CGI LC Server?

2017-04-10 Thread Mike Bonner via use-livecode
If you're interested in trying session variables again, I got word back that the issue I was having is fixed in 8.1.4 rc1 and it does indeed solve it. (hoping on-rev updates soon) The newer version also solves the error you were having (which required using sessionsavepath as a workaround) I have

Re: Passing Variables in a non-CGI LC Server?

2017-04-07 Thread Mike Bonner via use-livecode
Yep. We're suffering from different soup flavors (The permission problem you're running into.. the need to set the sessionsavepath) vs my soup (it won't actually load the session variables) but inedible is inedible, no matter the cause. *sigh* On Fri, Apr 7, 2017 at 12:54 PM, Rick Harrison via

Re: Passing Variables in a non-CGI LC Server?

2017-04-07 Thread Rick Harrison via use-livecode
Hi Mike, Well I’m glad to see I’m not alone here in not being able to get “start session” to work. Now we can enjoy being in the soup together! LOL Rick > On Apr 7, 2017, at 1:50 PM, Mike Bonner via use-livecode > wrote: > > Ok. The problem with "start

Re: Passing Variables in a non-CGI LC Server?

2017-04-07 Thread Rick Harrison via use-livecode
Hi Matthias, Yes, that was what I was trying to do with no luck getting that working. I can get it to work from a client-side stack without any issue, but when I try to move that code into a .lc web script page it won’t work. So, that’s why I decided I’d better ask what others are doing to pass

Re: Passing Variables in a non-CGI LC Server?

2017-04-07 Thread Mike Bonner via use-livecode
Ok. The problem with "start session" is most likely trying to write the session file to a place without write permissions. Make sure you set the sessionsavepath to a place you can write to. Having said that.. I can't make it work. I can get past start session, all the way to stop session, no

Re: Passing Variables in a non-CGI LC Server?

2017-04-07 Thread Matthias Rebbe via use-livecode
> Am 07.04.2017 um 18:21 schrieb Rick Harrison via use-livecode > >: > > Hi Matthias, > > Yes, I want to output some information to the user, and other > information remains hidden - where some data is adjusted, > modified,

Re: Passing Variables in a non-CGI LC Server?

2017-04-07 Thread Rick Harrison via use-livecode
Hi Matthias, Yes, I want to output some information to the user, and other information remains hidden - where some data is adjusted, modified, on the third webpage. No, I’m not looking to redirect to another webpage, although I have used that technique in the past on other types of webservers.

Re: Passing Variables in a non-CGI LC Server?

2017-04-07 Thread Rick Harrison via use-livecode
Hi Mike, Yes, I’m hitting lc server script pages directly in the browser though a web server. Yes, all of my pages are .lc based. I looked at the link you suggested for session management. I put the code exactly as it was to see if the example would work. It doesn’t work. As soon as it gets

Re: Passing Variables in a non-CGI LC Server?

2017-04-07 Thread Matthias Rebbe via use-livecode
> Am 07.04.2017 um 04:46 schrieb Rick Harrison via use-livecode > >: > > Hi Richard, > > Ok, let me clarify if I can. LC Server as it > is installed out of the box without setting > it up as it used to be set up in the old

Re: Passing Variables in a non-CGI LC Server?

2017-04-06 Thread Mike Bonner via use-livecode
Ah k. Still not sure what you mean about how its installed, but if you are hitting lc server script pages directly in the browser through a web server, that part most likely doesn't matter. (otherwise i'm sure you'll correct me) It sounds like you need to use session management. If all your

Re: Passing Variables in a non-CGI LC Server?

2017-04-06 Thread Rick Harrison via use-livecode
Hi Richard, Ok, let me clarify if I can. LC Server as it is installed out of the box without setting it up as it used to be set up in the old days. I have three webpages. The first accepts the user’s input into various fields and then passes that information to the next webpage through the

Re: Passing Variables in a non-CGI LC Server?

2017-04-06 Thread Mike Bonner via use-livecode
I was mainly referring to the fact that an lc server script isn't restricted to a single script file, so scope still matters. (Clarity is not my strong suit) So as in a standalone etc, to use a global one would need to declare it in each script where it needs to be available, whether server or

Re: Passing Variables in a non-CGI LC Server?

2017-04-06 Thread Richard Gaskin via use-livecode
Rick Harrison wrote: > So the answer is - only in a stack. > Perhaps the dictionary should have > a comment stating or clarifying that fact. Mike said: Can't answer the rest, but as for the global.. Since you can utilize stacks with server, you could declare a global just as you would

Re: Passing Variables in a non-CGI LC Server?

2017-04-06 Thread Rick Harrison via use-livecode
Hi Mike, So the answer is - only in a stack. Perhaps the dictionary should have a comment stating or clarifying that fact. Thanks, Rick > On Apr 6, 2017, at 4:27 PM, Mike Bonner via use-livecode > wrote: > > Can't answer the rest, but as for the global..

Re: Passing Variables in a non-CGI LC Server?

2017-04-06 Thread Mike Bonner via use-livecode
Can't answer the rest, but as for the global.. Since you can utilize stacks with server, you could declare a global just as you would normally, in any scripts that needed it, and it would work just like in lc proper. It would only persist during the run of that particular instance. On Thu, Apr

Passing Variables in a non-CGI LC Server?

2017-04-06 Thread Rick Harrison via use-livecode
I have a few variables I would like to pass from one .Introduced1.0OSmac, windows, linux, ios, androidPlatformsdesktop, server, mobile ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and