If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

[Closed] CAM PASSPORT issue

Started by kalyan_sekhar1, 29 Oct 2005 07:13:21 AM

Previous topic - Next topic

kalyan_sekhar1

Hi all,

When the end client checks the report and be idle for 1hour, the Cognos session got expired. So i took a cam_passport cookie and defining it at the client side as mentioned below

function getCookie(name) {

Ã,  var dc = document.cookie;
var CGNS_CK;
Ã,  var prefix = name + "=";
Ã,  var begin = dc.indexOf("; " + prefix);
Ã,  if (begin == -1) {
Ã,  Ã,  begin = dc.indexOf(prefix);
Ã,  Ã,  if (begin != 0) return null;
Ã,  } else
Ã,  Ã,  begin += 2;
Ã,  var end = document.cookie.indexOf(";", begin);
Ã,  if (end == -1)
Ã,  Ã,  end = dc.length;
CGNS_CK=unescape(dc.substring(begin + prefix.length, end));

document.cookie="cam_passport="+CGNS_CK+";path=/;expires="+expireDate;
alert(document.cookie);
}

In the name i am passing "cam_passport", eveyrthing is fine until i am using the reports. Now one strnage thing happens when i click on the PDF or Excel icons. The cam passport value is changing and the complete text is different , becuase of that i am getting logged out. How to solve this issue

Thank

MFGF

Hi,

A far easier solution to the passport timeout is to change the timeout value in Cognos Configuration, if one hour is not long enough.  Select the Authentication folder, and modify the 'Inactivity timeout in seconds' from 3600 to whatever you need it to be.

Best regards,

MF.
Meep!