Gino Pacitti
2018-10-06 20:22:53 UTC
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 will set the headers in the AJAX response so the client will have them for the next request I make from that browser window?
The current set up creates a new WOResponse where I am setting headers but I do not just want to manually create the cookie...
Thanks in advance
Gino
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (Webobjects-***@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/uoh8%40ml-in.narkive.net
This email sent to ***@ml-in.nar
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 will set the headers in the AJAX response so the client will have them for the next request I make from that browser window?
The current set up creates a new WOResponse where I am setting headers but I do not just want to manually create the cookie...
Thanks in advance
Gino
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (Webobjects-***@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/uoh8%40ml-in.narkive.net
This email sent to ***@ml-in.nar