Click here to Skip to main content
15,914,225 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: changing from asp to asp.net Pin
lehya14-Jul-06 2:46
lehya14-Jul-06 2:46 
GeneralRe: changing from asp to asp.net Pin
Brent Lamborn14-Jul-06 4:48
Brent Lamborn14-Jul-06 4:48 
QuestionAsp.net Validator Pin
user556914-Jul-06 1:10
user556914-Jul-06 1:10 
AnswerRe: Asp.net Validator Pin
Jakob Farian Krarup14-Jul-06 1:48
Jakob Farian Krarup14-Jul-06 1:48 
GeneralRe: Asp.net Validator Pin
user556914-Jul-06 4:09
user556914-Jul-06 4:09 
QuestionFtp over SSL........Getting Problem.... Pin
manish2414-Jul-06 1:08
manish2414-Jul-06 1:08 
QuestionSiberx Pdf Library for pdf Pin
Amit Agarrwal14-Jul-06 1:06
Amit Agarrwal14-Jul-06 1:06 
QuestionSession State variables within UserControls [modified] Pin
Travis D. Mathison14-Jul-06 0:22
Travis D. Mathison14-Jul-06 0:22 
Scenario:
- I have session state variables being saved and loaded from an ASP.NET page.
- I have session state variables being set from within a UserControl that exists on that same page.

Problem:
- When I set a session state variable within the codebehind page of the UserControl and the page performs a postback I am unable to access the session state variable that was set within the UserControl during the OnInit method of the ASP.NET page that the control is on?
- I am checking this by enumerating the session state variable collection for the page at both the OnInit and OnLoad methods of the page and the controls session state variables are not available at either. However, after the page has loaded I look at the trace information and see that the user controls session state variables are there (but not in the collection during the pages OnLoad event....)

Question:
- In regards to the accessability of the UserControls session state variables on the page: Are the session state variables loaded into the pages session state collection during the loading of the control itself (which is why I cant access them during the OnInit phase of the Page itself?)
- Shouldn't Session state variables be accessable to the page and all children controls of that page for that user?

I'm going to try to move some of the code that uses the session variable to a later rendering phase of which it's accessable however there is some things I'm doing that have to be done in the OnInit, OnPreRender, etc. page load phases...

Thanks for any insight you can provide =P

-- modified at 6:34 Friday 14th July, 2006
AnswerRe: Session State variables within UserControls Pin
Guffa14-Jul-06 2:02
Guffa14-Jul-06 2:02 
AnswerRe: Session State variables within UserControls Pin
bluewavestrider14-Jul-06 6:06
bluewavestrider14-Jul-06 6:06 
QuestionProbmem Inside vb.net1.1 [modified] Pin
amaneet14-Jul-06 0:08
amaneet14-Jul-06 0:08 
QuestionEditItemTemplate in vb.net 1.1 Pin
amaneet13-Jul-06 23:47
amaneet13-Jul-06 23:47 
AnswerRe: EditItemTemplate in vb.net 1.1 Pin
mnaveed14-Jul-06 1:05
mnaveed14-Jul-06 1:05 
GeneralRe: EditItemTemplate in vb.net 1.1 Pin
amaneet14-Jul-06 1:37
amaneet14-Jul-06 1:37 
GeneralRe: EditItemTemplate in vb.net 1.1 Pin
mnaveed14-Jul-06 2:51
mnaveed14-Jul-06 2:51 
GeneralRe: EditItemTemplate in vb.net 1.1 Pin
amaneet14-Jul-06 3:05
amaneet14-Jul-06 3:05 
GeneralRe: EditItemTemplate in vb.net 1.1 Pin
mnaveed14-Jul-06 3:29
mnaveed14-Jul-06 3:29 
QuestionCan web apps interoperate with outlook? Pin
Red_Wizard_Shot_The_Food13-Jul-06 23:14
Red_Wizard_Shot_The_Food13-Jul-06 23:14 
AnswerRe: Can web apps interoperate with outlook? Pin
Brent Lamborn14-Jul-06 7:02
Brent Lamborn14-Jul-06 7:02 
QuestionTo print an html page without loading it and without a print dialog, in asp.net Pin
sai_akkina13-Jul-06 22:51
sai_akkina13-Jul-06 22:51 
GeneralRe: To print an html page without loading it and without a print dialog, in asp.net Pin
Guffa13-Jul-06 23:03
Guffa13-Jul-06 23:03 
Question'System.StackOverflowException' occurred in System.Data.dll(urgent) Pin
srinandan..13-Jul-06 22:37
srinandan..13-Jul-06 22:37 
AnswerRe: 'System.StackOverflowException' occurred in System.Data.dll(urgent) Pin
enjoycrack13-Jul-06 22:41
enjoycrack13-Jul-06 22:41 
QuestionSession_end or browser close events? Pin
TintinV3ck13-Jul-06 22:23
TintinV3ck13-Jul-06 22:23 
AnswerRe: Session_end or browser close events? Pin
enjoycrack13-Jul-06 22:40
enjoycrack13-Jul-06 22:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.