sessionstripessession-less

Creating Sessionless page in Stripes


I have a Stripes website and I will have one page that will get lots of hits, and I was asked to make sure Stripes does not create a user session when someone navigates to this page.

Is there a way to make sure does not create a session when a user goes to a certain action?


Solution

  • You need to create an Interceptor and when ever action is been called for which you don't want to create session.. just look if response have 'SET-Cookie' in header, If it is remove that header content. I hope your problem will get solved.

    regards
    kishor