473,322 Members | 1,610 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

Sessions and web controls

2
Hello,

I'm doing some work on a site using a CMS system that only allows programming to be done through web controls, and I need to persist data between pages that contain my web contorls using sessions.

Unfortunaly if I set a session variable in a web control on one page it is not available to the web control on page two.

I know this is to do with the fact that the contorl is a differert class and I should be using HttpContext.Current.Session but I dont fully understand this currently and can't get anything to work!

I need to be able to set a session variable in a web control on page 1 then be able to read that variable in a web control on page 2.

I don't have any access to the aspx pages - only to the web controls imbedded on them.

Any help would be greatly appriciated
Sep 6 '07 #1
1 751
roper
2
My mistake, please ignore this thread - it appears to be something to do with the CMS system were using as when I set up a simple test with two pages and two web controls it appears to pass session variables between the two just fine.
Sep 6 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Gary W | last post by:
Hello, I have used SESSIONS on mission critical pages on my site, and if sessions are not enabled / supoorted - these pages will fail. When and why would a session fail? They do not store any...
13
by: G | last post by:
Hello, Is it possible to send form values from PAGE1 to PAGE2, and then retain the form info for PAGE3 without using cookies, sessions or DB storage? Also, I dont want to repost page2 to page3...
3
by: Maxime Ducharme | last post by:
Hi group We have a problem with sessions in one of our sites. Sessions are used to store login info & some other infos (no objects are stored in sessions). We are using Windows 2000 Server...
5
by: Mark | last post by:
Hi, I want to run in my .Net Windows Form this statement System.Diagnostics.Process.Start(strURLCommand) to open the browser and navigate to the specified URL. The URL is an ASP.Net Web...
5
by: David P. Donahue | last post by:
Is there a way to iterate through some kind of collection and access session variables in current active sessions on the website? For example, I'd like to add a feature to an administrative...
4
by: David Pendrey | last post by:
Hi all, I am making a program using the I.E. web browser control and need some (more) help. I need multiple windows open (multiple instances of the web browser) open at once on a page which...
1
by: Christopher | last post by:
Hello, I currently use session variables to store some basic values on an intranet site internally. However, sometimes those session values do not come through and other time sthey do yet the...
2
by: Ken Varn | last post by:
I have an ASP.NET web page that displays about 16 dynamic images using an HttpModule handler tied into16 Image controls. When the browser tries to display each image, it attempts to display all of...
3
Atli
by: Atli | last post by:
Introduction: Sessions are one of the simplest and more powerful tools in a web developers arsenal. This tool is invaluable in dynamic web page development and it is one of those things every...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.