You need to sign in to do that
Don't have an account?
riffindus
customer portal session issue
Hi,
We have customer portal, where user sign up and uses the portal. in some case, when the user closes the window and try to access customer portal in the same browser, it is loading only the VF template but not the page. The session of the user is not timed out and it behaves this way, if the user session timeout(it is 30 minutes), then the user is able to login successfull. else after login it loads only the template.
i tried adding a javascript and do the login and a page reference to go back to the last left page but it is not happening.
did anyone faced this issue?
We have customer portal, where user sign up and uses the portal. in some case, when the user closes the window and try to access customer portal in the same browser, it is loading only the VF template but not the page. The session of the user is not timed out and it behaves this way, if the user session timeout(it is 30 minutes), then the user is able to login successfull. else after login it loads only the template.
i tried adding a javascript and do the login and a page reference to go back to the last left page but it is not happening.
did anyone faced this issue?
What seems to be happening is that after login it points it to the right page but you need to make the right page as the home page.
Hope this makes sense.
Bryn
What link do your customers use? Where is this stored? (website, Customer computer, etc.)
Could you post your vf code?
Could you give me a login code and i may be able to better help you?
Bryn
the link is stored in a website. when they click on third party website, it calls our site webpage.
<apex:page sidebar="false"
showHeader="false"
standardStyleSheets="false"
controller="ApplicationEntryController"
title="Application: Login or Register">
<script type="text/javascript">
var axel = Math.random() + "";
var a = axel * 10000000000000;
document.write('<iframe src="https://fls.doubleclick.net/activityi;src=2665657;type=apply806;cat=tuiua106;ord=' + a + '?" width="1" height="1" frameborder="0" style="display:none"></iframe>');
</script>
<noscript>
<iframe src="https://fls.doubleclick.net/activityi;src=2665657;type=apply806;cat=tuiua106;ord=1?" width="1" height="1" frameborder="0" style="display:none"></iframe>
</noscript>
<!-- End of DoubleClick Floodlight Tag: Please do not remove -->
<!-- Implement the ApplicationTemplage page as a VF template -->
<apex:composition template="ApplicationTemplate">
<apex:define name="formDebugging">
Debugging Information - Current User:<br/>
<apex:outputText value="Name: {!currentUserName}"/><br/>
<apex:outputText value="Username: {!currentUserUsername}"/><br/>
<apex:outputText value="User Type: {!currentUserType}"/><br/>
<apex:outputLink value="{!$Site.Prefix}/secur/logout.jsp" rendered="{!NOT(ISPICKVAL($User.UserType,'Guest'))}">{!$Label.site.logout}</apex:outputLink>
</apex:define>
<!-- Define the formBody merge component -->
<apex:define name="formBody">
<apex:form forceSSL="true">
<div class="step selected">
<apex:outputPanel rendered="{!hasErrorMessages}" layout="block" styleClass="errorMessagePanel" id="errorMessagePanel">
<strong>{!$Label.App_Error_MsgHeader}</strong>
<apex:messages styleClass="errorMessage" id="errorMessages"/>
</apex:outputPanel>
<!-- Page Header -->
<!-- Form Components -->
<table cellpadding="5" width="420px">
<tbody class="application_table">
<tr>
<td>
<div style="margin: 0px 0px 3px 0px; padding: 10px 0px 10px 0px; border-bottom-width:1px; border-bottom-color: #A9A9A9; border-bottom-style: solid;">
<p style="margin: 0px 0px 3px 0px;"><strong>New Applicant</strong></p>
<p>Please click the button below to begin filling out a new application.</p>
<p><apex:commandButton action="{!newUser}" value="New Application" onClick="var s = s_gi('trdntdev'); s.linkTrackVars = 'events';s.linkTrackEvents = 'event36'; s.events='event36'; s.tl(this,'o','StartApplication');"/></p>
</div>
<div style="margin: 10px 0px 0px 0px;">
<p style="margin: 0px 0px 3px 0px;"><strong>Resume Application</strong></p>
<p>Please provide the email address and password used to set up your account.</p><br/>
<div>
<span style="display:inline-block; valign:middle; width: 70px;padding-bottom: 15px">Username:</span><span><apex:inputText value="{!username}" onkeypress="return noenter(event);" style="width:150px;"/></span>
</div>
<div>
<apex:actionFunction name="doLogin" action="{!login}" />
<span style="display:inline-block; valign:middle; width: 70px;padding-bottom: 15px">Password:</span><span><apex:inputSecret value="{!password}" onkeypress="return noenter(event);" style="width:150px;" /></span>
</div>
<div>
<span style="display:inline-block; valign:right; width: 70px;padding-bottom: 15px"></span><span><apex:commandLink value="Forgot Password?" action="{!goToPasswordResetPage}" style="font:14px/19px arial;color:#226188;"/></span>
</div><br/>
<p>
<apex:commandButton action="{!login}" value="Resume Application" id="loginButton" onClick="var s = s_gi('trdntdev'); s.linkTrackVars = 'events';s.linkTrackEvents = 'event36' s.events='event36'; s.tl(this,'o','StartApplication');" /></p>
</div>
</td>
</tr>
</tbody>
</table>
<div class="flush-floats"> </div>
</div>
</apex:form>
<script type='text/javascript'>
function noenter(ev) {
if (window.event && window.event.keyCode == 13 || ev.which == 13) {
doLogin();
return false;
} else {
return true;
}
}
</script>
</apex:define>
</apex:composition>
</apex:page>