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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T09:47:00+00:00 2026-05-30T09:47:00+00:00

I’ve looked around several articles and nothing is like a clear cut piece of

  • 0

I’ve looked around several articles and nothing is like a clear cut piece of code that I can just look at and gather all the ideas. Everyone posts little segments of their app and I’m not sure what is critical to the session/login and what is essential only to their app.

The process:

  • Initial login with user/pass. Password will be md5 encrypted and matched on the server end.
  • If the user/pass is correct the session id from the request will be stored server-side and any future requests from the same session id will be provided the appropriate data.

What I need:

  • A simple JSON request that can complete GET/POST requests. Post for the user/pass. Get for future queries.
  • A section of code that will retain the session cookie and apply it to any further GET/POST requests.

My test:

I’ll try and make a request for a some information (for test purposes a string; “pass”). Without the login being confirmed my server will return “fail” after the login I’d like it to return “pass”. Then I’ll go into my database alter the session id that was stored. Refresh my app, and have it change from “pass” to “fail” again.

NOTE: A big problem I have is when people post section of code and don’t say where each section should go. Please be clear where blocks of code should go. (ie. after the initial request. As a separate function, etc.)

Example of an AMAZING answer that I ran across. Except it didn’t have any code, just structure :/

Login Session – Activities

  • 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-05-30T09:47:02+00:00Added an answer on May 30, 2026 at 9:47 am

    I think I found what I was looking for. I’ve decided to implement this example:

    http://old.metatroid.com/articles/Android%20Development%28part%201%29%20-%20Syncing%20Cookies%20Between%20Http%20Clients%20and%20WebViews

    Not sure if it’s going to do all I need, but so far it looks good. Best example I’ve found so far.

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

Sidebar

Related Questions

I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I've got a string that has curly quotes in it. I'd like to replace
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I'm new to using the Perl treebuilder module for HTML parsing and can't figure
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have just tried to save a simple *.rtf file with some websites and
I have a small JavaScript validation script that validates inputs based on Regex. I
For some reason, after submitting a string like this Jack’s Spindle from a text
I have this code to decode numeric html entities to the UTF8 equivalent character.

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.