greg keys
Posts: 0
Joined: Wed Sep 25, 2013 4:32 am

session cookies not being set from rest response

Im trying to set a login session via rest however it seems like session cookies arent being set, I tried with the proxy off by building the app and testing in real time but there seems to be a problem somewhere

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

session cookies not being set from rest response

How do you check that the session cookie is not there?

greg keys
Posts: 0
Joined: Wed Sep 25, 2013 4:32 am

session cookies not being set from rest response

havent figured that out specically however we do have REST calls we can make which will return a logged in users information and its not finding the validated session, it works as expected using an advanced REST client for testing but its not working on the appery build, testing app or in the browser with the proxy

greg keys
Posts: 0
Joined: Wed Sep 25, 2013 4:32 am

session cookies not being set from rest response

its possible that the build we are getting is not the current build, for some reason old features we deleted a while ago are still showing up in the build, is there some sort of build cache or something, maybe the apps I'm building with appery still have the proxy enabled?

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

session cookies not being set from rest response

No, there is build cache.

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

session cookies not being set from rest response

We would need to see more details, what is the expected results and what happens now, etc.

greg keys
Posts: 0
Joined: Wed Sep 25, 2013 4:32 am

session cookies not being set from rest response

how do we clear that build cache so we get a copy with all the current changes?

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

session cookies not being set from rest response

Sorry, I meant to say there is no build cache.

greg keys
Posts: 0
Joined: Wed Sep 25, 2013 4:32 am

session cookies not being set from rest response

ok found the problem this setting:
Render all pages in one HTML file (jQuery Mobile multi-page template)

when switching that off, for some reason it was loading old pages and services which had the proxy enabled.

When I switched it back to render all pages as one it worked properly.

Return to “Issues”