Skip to main content

Notifications

Customer experience | Sales, Customer Insights,...
Unanswered

Web Form Session Not Clearing Portal App

(0) ShareShare
ReportReport
Posted on by 40

I am working on a Portal app which has a Web Form with three Web Form Steps.

On the Main Web Form, I have Start New Session On Load set to Yes like below.....

pastedimage1621945138202v1.png

On the Web Forms Steps, I have three steps like below....

pastedimage1621945186227v2.png

In most scenarios, the users will go through on the first page, hit next and go to the second page and then hit next again to go to third page. 

Starting with all Web Form Sessions cleared.....

pastedimage1621945349194v3.png

Bring up the first page and the Web Form Sessions are still cleared.

Click Next on the first page and a new Web Form Session is present....

pastedimage1621945466975v4.png

Click Next on the second page and Web Form Session is still present.

Click Next on the third and Final page and do a Submit and the Web Form Session is gone which is desired behavior.

pastedimage1621945552083v5.png

The issue I am running into are cases if the user would do something like close out of the browser entirely on the second or third step and then later go back and bring up the first step again.  Would think that Web Form Session would clear but it isn't.

Scenario like below.....

Starting with all Web Form Sessions cleared.....

pastedimage1621945676941v6.png

Bring up the first page and the Web Form Sessions are still cleared.

Click Next on the first page and a new Web Form Session is present....

pastedimage1621945676943v7.png

Click Next on the second page and Web Form Session is still present.

Now, exit out of the browser entirely.

Then reopen and bring up the first page.  

Web Form Sessions are still present....

pastedimage1621945726618v8.png

Click Next to go to second page....

pastedimage1621945738977v9.png

What I was expecting was since Start New Session On Load was set to Yes, would have thought in any cases the Web Form Sessions would clear out on the first step but am not seeing this behavior.

Is there some setting I am missing or is there a way to programmatically clear out Web Form Sessions when a Web Form loads? 

  • brunex01 Profile Picture
    brunex01 5 on at
    RE: Web Form Session Not Clearing Portal App

    Hi,

    Did you manage to get this working? I am having the same issue.

    Thanks

    Bruno

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

News and Announcements

Announcing Category Subscriptions!

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,359 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,370 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans