Re: Session is empty!
From: Alvin Bruney [MVP] (vapor)
Date: 03/25/04
- Next message: Michael Pearson: "Re: Stumped - Strongly Typed Arrays question (with simplified code example)"
- Previous message: John**********: "Database Access Security Issue"
- In reply to: mrwoopey: "HELP: Session is empty!"
- Next in thread: mrwoopey: "Re: Session is empty!"
- Reply: mrwoopey: "Re: Session is empty!"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 24 Mar 2004 18:55:01 -0600
first, you don't have to post this to multiple newsgroups. what does the
post have to do with webservices newsgroup for example?
here's a link to help you understand the process
http://www.developersdex.com/gurus/articles/746.asp
-- Regards, Alvin Bruney [ASP.NET MVP] Got tidbits? Get it here... http://tinyurl.com/3he3b "mrwoopey" <mrwoopey@yahoo.com> wrote in message news:e48ab325.0403241437.78f4556b@posting.google.com... > Hi, > > I have a ASP.NET application with two frames (both are ASPX pages). > Once my app starts running, Session_Start fires in global.asax, like > it should. When I press a button within the top frame, it displays a > chart (OWC) in the bottom frame. > > I am storing info in session variables in the top frame ASPX page. For > some reason the Session_Start fires a second time, which then wipes > out all of my Session variables! This second firing of the > Session_Start event only happens when I press the button in the top > frame to display the chart in the bottom frame. > > How can I prevent Session_Start firing in global.asax the second time? > > I've tried the following (which nothing works): > > 1. added a dummy session variable in the bottom frame (and the main > frame) > 2. enableSessionState is true in all pages > 3. in my web.config file under session state I have, "mode= "InProc"" > and "cookieless="false"" > > Basically, how can I keep my Session (by not having Session_Start fire > a second time)? > > Your help is appreciated. Please post. > > Thanks, > > Phin > > PS > > If for some reason I can't get around this, other than storing info in > a database or cookies, how else can I keep info that I need to access > later (during a session)? I read somewhere that you can use globals? I > tried it and it wouldn't save? How would that work? Can I write to the > cache? For any of these (or another method) please post. Thanks!
- Next message: Michael Pearson: "Re: Stumped - Strongly Typed Arrays question (with simplified code example)"
- Previous message: John**********: "Database Access Security Issue"
- In reply to: mrwoopey: "HELP: Session is empty!"
- Next in thread: mrwoopey: "Re: Session is empty!"
- Reply: mrwoopey: "Re: Session is empty!"
- Messages sorted by: [ date ] [ thread ]