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

  • Home
  • SEARCH
  • 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 533453
In Process

The Archive Base Latest Questions

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

I am opening a window with window.open and I am losing the server session.

  • 0

I am opening a window with window.open and I am losing the server session.
Is there a way to open a window with Javascript and use the same session?

I need this working in IE 7 and higher.

I am working with ASP.NET on the server side. The sever does not have a sessionless cookie state. <sessionState mode="InProc" timeout="15" />

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

    It looks like you have enabled cookieless session state.

    The approach for ASP.NET is similar to the one Pekka mention for PHP, but you need to call

    window.open("/(S(<%= Session.SessionID %>))/NewPage.aspx");
    

    Or change your web.config to force cookies for sessions.

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

Sidebar

Related Questions

I want to do something like this: var w = window.open(javascript: makeAnAjaxRequest();); My question
I am opening a new window from a button using var myWindow = window.open(...).
I have a link like this: <a href=/index2.php?option=com_jumi&amp;fileid=3&amp;Itemid=11 onclick=window.open(this.href,'targetWindow','toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes,') I want the new opening
I am opening a window and passing set of parameters to it. In this
It seems simple but I did not find a way. I open a window:
<?php $_SESSION['dsize'] = $_POST['dsize']; if ($_SESSION['deadline']==Urgent ) { ?> <script type = text/javascript> window.open('https://usd.swreg.org/cgi-bin/s.cgi?s=104597&p=104597-1&v=0&d=0&q=<?php
Does the opening Window enhance an application's attractiveness? Should it be a picture or
When opening a window, I register a Deleted-event-handler on my business object. It is
How would you program a C/C++ application that could run without opening a window
How do you call a URL from ActionScript 2 without opening a new window

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.