This discussion is archived
12 Replies Latest reply: Aug 14, 2013 10:50 AM by lqian RSS

Why set_user is not called when using Secure Maps?

user497649 Newbie
Currently Being Moderated

Hi,

 

I am using the latest Oracle Maps (11g ps6 v11.1.1.7.1) and I am trying to support authentication to display different content to the users.

I want to do this using cookie authentication. I've set the configuration as the documentation indicates, and I see my cookie being read in the logs:

 

Jul 01, 2013 1:15:50 AM oracle.lbs.mapserver.oms getAuthenticatedUserIds

FINEST: User name stored in cookie [MON_USER] : francis

 

The problem I have is that the set_user procedure of my package is not called, even though the clear_user is called at the end of the request. I have an insert statement in my procedure, I am not relying strictly on the logs.

 

Jul 01, 2013 1:15:50 AM oracle.sdovis.ds.DSUtil closeDBConnection

FINEST: package web_user_info.clear_user called.

 

 

Anybody know if this is a bug or if there is a way around? Or have been able to make it work? I have the impression I've tried everything, even changing the name of my package & cookie to be the same as in the documentation.

 

 

Thanks.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points