My Oracle Support Banner

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

Last updated on NOVEMBER 03, 2022

Applies to:

Oracle WebCenter Sites - Version 11.1.1.8.0 and later
Information in this document applies to any platform.

Symptoms

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"/>
</form>

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.

 

Changes

 

Cause

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
Symptoms
Changes
Cause
Solution
References


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