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

New Message on BDOTNET

-----------------------------------------------------------
From: Rajiv R
Message 4 in Discussion


 
    Hi,
 
        
I had used a workaround which I had to 
link a asp app to a j2ee , jsp based app. the scenrio is alomost same... the 
session cannot be shared. 
 
        all i had to do was to create 
a session variable with the employee id in asp and set the value as it was in 
the jsp. wht i did is this:
 
        
1. In the JSP page (main.jsp) , link to 
interface.asp?empid=<%=pull empid frm java session and put 
here%>
        
2. In interface.asp, i do a 
form.querystring("empid"), create a session in the asp page and set the value. 

        
3. Now redirect to asp application and it 
was get the session data of empid.
 
        
As a security measure, in interface.asp I 
check the HTTP_REFERRER server variable to be equal to main.jsp. this is avoid 
any direct requests to interface.asp... note that it is very much reqd ......... 

 
    hope this helps...
 
good 
day
rajiv

  -----Original Message-----
From: TDP 
  [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 22, 2003 11:14 
  AM
To: [EMAIL PROTECTED]
Subject: Re: mixing up 
  asp.net and asp


  
    
      
      New Message on BDOTNET
    
      

  mixing up 
    asp.net and asp


    
      
      
        Reply

        
          
            
            
               
              Reply to Sender   Recommend 
              Message 3 in 
                Discussion 
      
        
          
            
            
              From: TDP 
            
              
Hi Nanda,

Sessions in asp is 
                different from asp.net.
So u cannot use sessions created in 
                asp.net in asp and vice versa.
u have to use some other 
                mechanism for the same

Prasanth 
                TD

__________________________________________________
************** 
                Confidentiality Notice 
                ************

Proprietary/Confidential Information 
                belonging to 
CGI may be contained in this message. If you 
                are 
not a recipient indicated or intended in this 
                
message (or responsible for delivery of this 
message to 
                such person), or you think for any 
reason that this message 
                may have been addressed 
to you in error, you may not use or 
                copy or deliver 
this message to anyone else. In such case, 
                you 
should destroy this message and kindly notify the 
                
sender by reply 
                email.
___________________________________________________


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