Session Variable _authkey_ Is Null On First Request
Last updated on APRIL 09, 2018
Applies to:Oracle WebCenter Sites - Version 188.8.131.52.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
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms