Re: Session Cookies

2018-10-06 Thread Gino Pacitti
Solved… I just piggy backed on the current response and all is now as it should be… Thanks for feedback everyone. Gino > On 6 Oct 2018, at 22:12, Gino Pacitti wrote: > > Yes there was no automatic session wosid being returned even though I was > accessing and creating the session in the dir

Re: Session Cookies

2018-10-06 Thread Gino Pacitti
Yes there was no automatic session wosid being returned even though I was accessing and creating the session in the direct action method. I’m aware its because I am creating the WOResponse manually… I therefore seem to be avoiding the apps response auto mechanism which adds the cookies to the h

Re: Session Cookies

2018-10-06 Thread Aaron Rosenzweig
Hi Gino, Ah, I got a better idea of what you are driving at. Your first question is why don’t you see the automatic cookie that WO should provide? Well if typically you do have it but just not with this direct action… perhaps the direct action is session-less! maybe it never made a session! N

Re: Session Cookies

2018-10-06 Thread Gino Pacitti
Yes I have the path set already but there was no automatic creation of the session cookie. I do have the session flags set for cookie session ID and in the Direct action accessing the session. So the session is being created but no sessionID returned in the headers? I will look at the JWT stuff

Re: Session Cookies

2018-10-06 Thread Aaron Rosenzweig
Hi Gino, Set a path of “/“ for your cookies. Make sure it is available to all within the same top level domain. You might consider JWT (JSON web tokens) to jump back and forth with your staticly served but dynamic javascript app. AARON ROSENZWEIG / Chat 'n Bike e:

Re: Session Cookies

2018-10-06 Thread Gino Pacitti
Well thanks… Jesse Unfortunately I am returning a JSON response and so I need something that is actually going to give me back a new session ID and the correct Instance ID so that the browser sets them from that response. Thanks anyway… Gino > On 6 Oct 2018, at 21:27, Jesse Tayler wrote: >

Re: Session Cookies

2018-10-06 Thread Jesse Tayler
I have no idea what you’re really asking here, but you need to put data into hidden text fields if you want to take those values from the request > On Oct 6, 2018, at 4:22 PM, Gino Pacitti wrote: > > Hi Anyone > > I’m working on an app that needs a javascript fetch to set a value in the > s

Session Cookies

2018-10-06 Thread Gino Pacitti
Hi Anyone I’m working on an app that needs a javascript fetch to set a value in the session but it is coming from a static HTML page outside the app. I need to have the session ID and Instance number to be returned and set on the browser… Is there a method I can call in my DirectAction that wi

Re: how to enable secure session cookies?

2016-08-19 Thread Ramsey Gurley
In your properties file, you can put # Secure Session Cookies er.extensions.ERXSession.useSecureSessionCookies=true Or you can override useSecureSessionCookies in your session class. You might also be interested in useHTTPOnlySessionCookies. That is static for some reason, so it probably only

how to enable secure session cookies?

2016-08-19 Thread Beth Stranz
Hi, I'm new to WebObjects and new to this list... I'm looking for information on how to enable secure session cookies. Any insight or pointing me to applicable resources is appreciated. Has anyone had success running in SSL mode on a local instance? Tha

Re: Combination of ERXApplication.replaceApplicationPath, Session-Cookies and Ajax doesn't work

2015-11-08 Thread CHRISTOPH WICK | i4innovation GmbH, Bonn
Hello Samuel, you saved my day. Thx a lot. C.U.CW -- The three great virtues of a programmer are Laziness, Impatience and Hubris. (Randal Schwartz) > On 08.11.2015, at 15:58, Samuel Pelletier wrote: > > Hi Christoph, > > All my apps are like this. The only things special I see if you need to

Re: Combination of ERXApplication.replaceApplicationPath, Session-Cookies and Ajax doesn't work

2015-11-08 Thread Samuel Pelletier
Hi Christoph, All my apps are like this. The only things special I see if you need to override domainForIDCookies() in the Session class but I think it is also required for non Ajax app. Does non Ajax request works ? My generic solution is this because of an app that serve multiple domains :

Combination of ERXApplication.replaceApplicationPath, Session-Cookies and Ajax doesn't work

2015-11-07 Thread CHRISTOPH WICK | i4innovation GmbH, Bonn
Hi list, has anyone the combination of - ERXApplication.replaceApplicationPath and - SessionID stored in cookies and - Ajax (from Wonder's Ajax-Framework) successfully working in combination? I don't get it up and running on a test-server. In my case each click on a submit button in a form con

Re: WO Session Cookies not accepted by Blackberry Playbook browser

2011-05-26 Thread Mike Schrag
two possibilities 1) buy an ipad like you SHOULD have :) 2) check for the playbook user agent and force cookies into the URLs ms On May 26, 2011, at 5:04 AM, Alan Zebchuk wrote: > We recently had an issue where a client using a Blackberry Playbook could log > onto a WO application, but any f

WO Session Cookies not accepted by Blackberry Playbook browser

2011-05-26 Thread Alan Zebchuk
We recently had an issue where a client using a Blackberry Playbook could log onto a WO application, but any further action after logged in would log them out. After further investigation, this doesn't seem to be anything that we're doing in particular in our application, as I've tested the sa