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 8374301
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T14:53:39+00:00 2026-06-09T14:53:39+00:00

I have a site build on rails that provides XML version of all relevant

  • 0

I have a site build on rails that provides XML version of all relevant pages. Additionally, it has HTTP authentication.

My plan to handle login for the mobile app is to post the username/password to the login page and, assuming I get a good response, I’ll set global variables variables for user and password and make all requests to protected data with the validated user/pass in the header. Logout will just wipe wipe the user/password global variables.

Is the best way to handle this or am I making things more difficult than they need to be?

  • 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-09T14:53:40+00:00Added an answer on June 9, 2026 at 2:53 pm

    yes, although my advice is to use a gem like Devise or authLogic as rolling your own authentication is fraught with potential problems.

    There are different ways you can include external libraries for Rhodes, including RubyGems and custom extensions. Please refer to the link below for information.

    http://docs.rhomobile.com/rhodes/extensions

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

Sidebar

Related Questions

I have a site built in Ruby On Rails which has many ads in
I have a very complicated site built on CSS3 that has html elements 3d-transformed,
I have built a site that relies on an XML feed that I currently
I have been using gmaps4 rails to build out a site and the gem
I am going to be deploying a site i have built in rails 3
I have a site I'm trying to build and I've hit one little snag
I have a site running on Magento and i have build some hand made
I have a local build of my site running at local.mydomain.com. I'm making ajax
I have been using twitter bootstrap to build a small blog site for myself
I have the following code, deployed on a https Asp site, build with MVC

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.