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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T00:46:49+00:00 2026-06-03T00:46:49+00:00

Webserver setup: nginx / thin / ruby-sinatra I use session object from ruby to

  • 0

Webserver setup: nginx / thin / ruby-sinatra

I use session object from ruby to store various info and return to path

session[:username] = 'username' 
session[:token] = 'token'
session[:error] = '' 
session[:return_to] = '/start_page'

Problem1:

On my sever, if the client is IE, all the info in the session object is lost when I do a page reload. Firefox and Chrome work fine.

If I take the save web page code and put it on different server with the same setup, I dont have a problem at all. All 3 browsers(same client) work good and remember the sessions.

What could go wrong with the setup? Why only IE??

Problem2:

On my server, the session[:session_id] doesnt get initialized until I set some variable to the session, but if I run same code on a different server, the session[:session_id] is available on very first access.

Why there is different behavior for completely identical set ups??

  • 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-03T00:46:51+00:00Added an answer on June 3, 2026 at 12:46 am

    Seems to be a bug with sinatra 1.3.1, see the comments on the question for resolution

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

Sidebar

Related Questions

For example, this code: from flask import session @app.route('/is_logged_in/') def is_logged_in(): return 'user' in
Here is how our Tomcat webserver is currently setup. We are using jsp for
We have a setup here that is less than ideal, We have our webserver
I have my asp.net web server setup to use windows authentication. It is authenticating
Apache webserver setup added: AddType application/x-mpegURL .m3u8 AddType video/MP2T .ts to httpd.conf file. Movie
I am trying to setup Django to use MySQL. I am getting the following
I've been playing around with my own webserver (Apache+Ubuntu) and python. From what I've
I'm using Nginx as webserver, with a reverse proxy to a gunicorn django server.
I am trying to setup my webserver so that one group will have access
Hi stackoverflow users. My server setup is the following: A webserver with access on

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.