-----------------------------------------------------------

New Message on BDOTNET

-----------------------------------------------------------
From: AlpeeJain
Message 2 in Discussion


The default ASP.Net application is in-process 
and that 
does not allow session state sharing across process. 
But you 
can use out-process model by configuring the SQL 
server.
Refer to the 
link below for configuring out of process session 
state
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaspnet/html/asp12282000.asp

  
  -----Original Message-----
From: SujithES 
  [mailto:[EMAIL PROTECTED] 
Sent: Thursday, December 21, 2006 
  12:42 PM
To: BDOTNET
Subject: passing user session state 
  b/w two web application


  
    
      
      New Message on BDOTNET
    
      

  passing 
    user session state b/w two web application


    
      
      
        Reply

        
          
            
            
               
              Reply to Sender   Recommend 
              Message 1 in 
                Discussion 
      
        
          
            
            
              From: SujithES 
            
              

                Hi 
                I need help
                 
                I need to pass user state from one web application to 
                another web application in dotnet 2.0 using sessions
                 
                My code is
                 
                web applcication 1:-sessionTest01
                
                
Private Sub Button1_Click(ByVal sender 
                As 
                System.Object, ByVal e As System.EventArgs) Handles 
                Button1.Click
                
Session("MyKey") = TextBox1.Text
                
Response.Redirect("http://localhost/SessionTest02/default.aspx";)
                
End 
                Sub
                 
                 
                 
                 
                web applcication 2:-SessionTest02
                 
                Private 
                Sub 
                Page_Load(ByVal sender As System.Object, ByVal e As 
System.EventArgs) Handles MyBase.Load
                
                

                
Dim 
                myValue As 
                String = 
                CType(Session("MyKey"), String)
                

                
Response.Write(myValue)
                
End 
                Sub
                Not able to get the data enterd in TextBox.
                Pls Help Me
                 
                Sujith
                 
View other groups in this 
    category. 
  



-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/bdotnet/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member 
Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you 
received this message by mistake, please click the "Remove" link below. On the 
pre-addressed e-mail message that opens, simply click "Send". Your e-mail 
address will be deleted from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to