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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T12:01:47+00:00 2026-05-16T12:01:47+00:00

My application is simple, I have 2 pages: RSSProducer.aspx: A page that generates RSS

  • 0

My application is simple, I have 2 pages:

  1. RSSProducer.aspx: A page that generates RSS (XML) feeds
  2. RssConsumer.aspx: A page that retrieves the RSS feeds and displays it to the user in a repeater control. To do this I am using the System.Xml.XmlTextReader to fill a DataSet with tables based on the RSS-XML retrieved from the RSSProducePage. A table within the DataSet is bound to the repeater control.

For example, this is what I have in my RssConsumer.aspx page:

 Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
    Session("permittedToViewSomeDetail") = True
    Dim url = "http://localhost/DevSite/RSSProducer.aspx"
    Dim reader As New System.Xml.XmlTextReader(url)
    Dim ds As New DataSet()
    ds.ReadXml(reader)
    myRssRepeater.DataSource = ds.Tables(2)
    myRssRepeater.DataBind()
  End Sub

My problem is that user-authorization details are stored in Session in the RssConsumer page that need to be accessed in the RSSProducer page (in this example it would be Session(“permittedToViewSomeDetail”) that I need to access in the RSSProducer page); however, the Session identifier is not common between the two. This means that I cannot access the authorization details in the RSSProducer page.

The reason for why is fairly clear to me:

  1. User’s browser makes a request to
    the RssConsumer page
  2. Server generates a Session ID (which is stored in a cookie) if
    there is no existing Session
    Identifer
  3. The RSSConsumer requests the RSSProducer page…which generates a
    new Session ID every time because no
    session identifier is ever going to
    be found.

I tried using cookieless session so that I could pass the SessionID via the URL to the RSSProducer page as an experiment but for some reason the XmlTextReader doesn’t work well with this method (but the desired shared session does work).

I’ve hit a brick wall here.
Does anyone know how to share session between pages when one page makes a request to the other?

Thanks,

-Frinny

  • 1 1 Answer
  • 1 View
  • 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-16T12:01:48+00:00Added an answer on May 16, 2026 at 12:01 pm

    I ended up taking a different approach to solving this problem. I moved the code out of the RssProducer.aspx page into the RssConsumer.aspx page. I am now able to apply the correct authorization to the feature and it’s actually more efficient this way because I don’t need to produce/consume RSS-XML any more.

    Thanks to everyone who took the time to help me with this.

    -Frinny

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

Sidebar

Related Questions

I have a simple iPhone application that is very similar to the Page Control
I have a simple application written in C# and .Net 2.0 that displays several
I have a simple c++ application that generates reports on the back end of
I have a simple Silverlight application that consists of four pages (XAMLs). Navigation is
I have a simple application with MVC pages that have no javascript, images or
Ok simple question. I have a JSF application, containing a login page. The problem
I have simple WinForms application where modifying Windows Registry. The problem is that in
I have a simple application that loads an unmanaged dll and passes a few
I have a simple application which takes a text and password, generates a text
I have some pages designed by someone else as simple HTML that I need

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.