• krish_123
  • NEWBIE
  • 0 Points
  • Member since 2011

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies

I put a userlogin page link for a web site which is developed in asp.net in the web tab. And when i clicked that particular tab, it opened the login page of the site successfully and i can log in the site.
But i visited some other tab like home page, profile in salesforce and come again to the tab of login page, it does not display the last opened page of my web page. Instead it again opened the login page.

So, please let me know how to a maintain the last visited page of my site.

Hello,
 
My organization is using the Force.com platform for an application. I am trying to implement the Single sign on in Salesforce.com.
 
I got the SSO enabled from SalesForce.com. Then I set up a web service for delegated authentication as per the WSDL released by Salesforce.com.
 
I turned on "Single sign-on" feature for my user profiles. I developed an ASP.NET web page that submits a POST request to

https://www.salesforce.com/login.jsp as given in the sample code by SalesForce.com. Heres the code:

<body onload="document.loginForm.submit();">

<form action="https://www.salesforce.com/login.jsp" method="POST" id="login" name="login">

<input type="hidden" name="un" runat="server" id="username"/>

<input type="hidden" name="pw" runat="server" id="token"/>

<input type="hidden" name="startURL" runat="server" id="startURL"/>

<input type="hidden" name="logoutURL" runat="server" id="logoutURL"/>

<input type="hidden" name="ssoStartPage" runat="server" id="ssoStartPage"/>

<input type="hidden" name="jse" value="0" id="jse"/>

<input type="hidden" name="rememberUn" value="1"/>

<script language="Javascript1.2" type="text/javascript">

document.getElementById("jse").value = 1;

</script>

</form>

</body>

The problem is that the login does not happen. I get the login page again after the post request, populated with the username. However, when I enter the password, I am able to login successfully.

Can somone help me please? We are applying for the enterprise edition, and without this, we can't be sure.

Thanks in advance,

Jyoti Khetan