Session Variable _authkey_ Is Null On First Request
Last updated on NOVEMBER 03, 2016
Applies to:Oracle WebCenter Sites - Version 220.127.116.11.0 and later
Information in this document applies to any platform.
You cannot use satellite:form because it is not valid to generate some "attributes" of the form tag. For instance, there is the "novalidate" attribute that you cannot set with satellite:form tag.
So when trying to set the _authkey_ parameter in the same way the satellite:form tag does.
<form name="MyForm" action="xxxxxx" method="POST" enctype="multipart/form-data">
<INPUT TYPE='HIDDEN' NAME='_authkey_' VALUE='<%= ics.GetSSVar("_authkey_")%>'>
<input type="submit" name="submit" value="submit"/>
The issue is that on the first request (no cookies, no session in appserver) ics.GetSSVar("_authkey_") is always null. On subsequent requests it is OK.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms