When I navigate to a page my session storage is cleared - I have a View which is set a "Default View"...from that View I open a Modal with 2 Fields, Username and Password, and a Login Button . In the OnClickLogin of the Modal I validate the User and the close the modal and refresh the parent. My User information is lost - CurrentUser id set to null then on.

asked 01 May, 19:35

ChrisG's gravatar image

ChrisG
1001k747988
accept rate: 55%


When navigating to a View that is set as Default View all session variable will be cleared and hence your CurrentUser will be cleared since it is part of the Session/Identity Token. If you remove the View from being a Default View the problem will be fixed.

link

answered 01 May, 19:36

ChrisG's gravatar image

ChrisG
1001k747988
accept rate: 55%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×2
×1
×1

Asked: 01 May, 19:35

Seen: 156 times

Last updated: 01 May, 19:36

Related questions

Powered By:   Graphite