.NET Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgramming.NET Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old April 22nd, 2002, 10:49 PM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 23
Session Variables are Empty

<i><b>Originally posted by : Doug Hagerman (DougH@Usbs-Panels.com)</b></i><br /><br />What do you have to do to get session variables to work from page to page.<br /><br />Now, I set a session variable on one page and it is blank not the Redirected Page.<br /><br />I have even tried turning the directories into applications.<br /><br />Using ASP.Net<br /><br />Plese Help.<br /><br />Thanks,<br />Doug<br />

Reply With Quote
  #2  
Old April 23rd, 2002, 10:24 AM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 23
<i><b>Originally posted by : </b></i><br /><br />did you declare your session variable in the global.asa file in the root directory?<br /><br />------------<br />Doug Hagerman at 4/22/2002 7:49:47 PM<br /><br /><br />What do you have to do to get session variables to work from page to page.<br /><br />Now, I set a session variable on one page and it is blank not the Redirected Page.<br /><br />I have even tried turning the directories into applications.<br /><br />Using ASP.Net<br /><br />Plese Help.<br /><br />Thanks,<br />Doug<br />

Reply With Quote
  #3  
Old April 23rd, 2002, 12:02 PM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 23
<i><b>Originally posted by : Doug Hagerman (DougH@Usbs-Panels.com)</b></i><br />Yes, I do declare them if by that you mean...<br /><br /><script Language="vb" runat="server"><br />Sub Session_OnStart()<br /> Session("User_Name")=""<br /> Session("Password")=""<br /> Session("Authorized")=""FALSE""<br />End Sub<br /></script><br /><br /><br />I have found that the following works... When I put the next page Address In the Quote Below<br /><br />Server.Transfer("MyNextWebPage.Aspx")<br /><br />Is there anything else I should be aware of?<br /><br />And also, how do frames affect the Server.Transfer("")? For Example what if you were using an XML Tree Control to allow the user to call web pages. How do you handle session variables in XML?<br /><br />Thanks,<br />Doug<br /><br /><br /><br /><br /><br /><br />------------<br /> at 4/23/2002 7:24:44 AM<br /><br /><br />did you declare your session variable in the global.asa file in the root directory?<br /><br />------------<br />Doug Hagerman at 4/22/2002 7:49:47 PM<br /><br /><br />What do you have to do to get session variables to work from page to page.<br /><br />Now, I set a session variable on one page and it is blank not the Redirected Page.<br /><br />I have even tried turning the directories into applications.<br /><br />Using ASP.Net<br /><br />Plese Help.<br /><br />Thanks,<br />Doug<br />

Reply With Quote
Reply

Viewing: ASP Free ForumsProgramming.NET Development > Session Variables are Empty


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT