Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8251083
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T00:07:23+00:00 2026-06-08T00:07:23+00:00

I am building a mobile app for iPhone using the mobile controls in the

  • 0

I am building a mobile app for iPhone using the mobile controls in the XPages Extension Library.

The first page displays a list of categories (happens to be a list of user names). When a category is selected the second page is displayed listing all documents belonging to the selected user.

The URL to open the second page includes a parameter with the user’s name. The second page has a page heading control and on the “label” property I have added the following code:-

if (param.get("User") != null) {
    sessionScope.put("UserName", param.get("User"));
}
return sessionScope.UserName;

I’m doing this so that I have access to the user name on subsequent pages, e.g. the third page is displayed when the user opens a document from the list on the second page.

When I test this in Chrome everything is fine. When I test in Safari I can see that the sessionScope variable is set when the second page is opened. However, when I select a document and the third page is opened the sessionScope variable is disappearing. I can’t see any code that would explain this and when tested in Chrome the sessionScope variable is still there on page 3. Unsurprisingly I get the same issue when I test on an iPhone.

The problem this gives me is that, when navigating back from a document (p.3) to the list of documents for the selected user (p.2) I don’t know which user was selected originally.

Anyone seen this before or have any explanation as to what might be going on?

Thanks for any suggestions.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T00:07:25+00:00Added an answer on June 8, 2026 at 12:07 am

    you might want to refrain from the parameter approach unless you are sanetizing your input first, so instead of the URL write the userName directly into the scope – or even easier – bind the first field with the categories to the sessionScope. Did u try to modify your code to use a different variable name?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am building a mobile app using Jquery mobile. It´s a multi-page app all
I am building an iPhone app using jQuery Mobile, jQuery 1.7.2, and PhoneGap trying
I'm building an iPhone app using Titanium Mobile and using the HTTPClient. Whenever I
I'm building a mobile app, using spark list control. When user tap on a
We are looking at building a cross-platform mobile app for iPhone, Android, etc. In
I'm working on building an iPhone app with Titanium Mobile 1.0 and I see
i am building a photo album app with spine mobile. I am using spine.relation
I'm building a windows mobile app. And using SqlCe. I'm looking for a good
I'm building a mobile app using HTML, CSS, Javascript and jQuery. Is there a
I'm building a (Rails-based) web service with a mobile app (iPhone) as frontend. In

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.