My Oracle Support Banner

Session Variable _authkey_ Is Null On First Request (Doc ID 1986298.1)

Last updated on JUNE 07, 2024

Applies to:

Oracle WebCenter Sites - Version 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.





To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.