cancel
Showing results for 
Search instead for 
Did you mean: 

Suppress logon.aspx and show main.aspx

Former Member
0 Kudos
95

Hi,

I need to bypass the logon.aspx and show the home page i.e. main.aspx. I tried appending the token obtained from session using Web Service SDK but no luck. I tried the openDocument function but it needs iDocId mandatorily which will not be case if i just bypass the login.aspx

I tried both

http://<servername>/businessobjects/Enterprise115/InfoView/main.aspx?token="; + boSI.getDefaultToken()

http://<servername>/businessobjects/Enterprise115/InfoView/logon.aspx?token="; + boSI.getDefaultToken()

Please help.

Thanks,

Sasi

Accepted Solutions (1)

Accepted Solutions (1)

Adam_Stone
Active Contributor
0 Kudos

You need to pass the token in a cookie when redirecting to the page, below is a code snippet for using the cookie. The name of the cookie needs to be "IdentityCookie".


HttpCookie IdentityCookie = new System.Web.HttpCookie("IdentityCookie", token);
IdentityCookie.Path = "/";
Response.Cookies.Add(IdentityCookie);
Response.Redirect("/businessobjects/enterprise115/InfoView/logon.aspx");

Answers (0)