-----------------------------------------------------------
New Message on BDOTNET
-----------------------------------------------------------
From: aryan_micky
Message 1 in Discussion
I have one problem related to asp.net, i stuck up with this problem i have one
vb.net dll which contains a method which gives call to some third party c dll.
i m referencing this vb.net dll in my asp.net application written in c#.
(U can say vb.net dll is wrapper to c dll api call) My problem is as follows 1>
I have one web page PAgeA which has button , when clicked on the button it
calls method from vb.net dll, do something with the result from the method and
add a string in session object for ex. MyName then use
Response.Redirect("PAgeB.aspx",false),
as i expect and everyone expect i must get session variable on PageB , but i
dont get that, it makes the session count 0. 2> If i use Server.Transefer i
will get the session varialbe, but now i again Redirect from here to PageC ,
session count is zero again. Below is the code in all three pages (for scenario
1 only PageA, PageB is required) ' Code in PageA Button1_Click event
DacLib.DACSS_ENGINE objEngine=new DACSS_ENGINE(); string temploanstr="LOAN1
"
int
returncode=objEngine.getDACSSNew(tempstr1,"L",3,"4","02",1,@"c:\inetpub\wwwroot\MyWebApps\bin\");
Session["MyName"]="nyname";
Response.Redirect("PageB.aspx",false); ' Code in PageB PAge Load Event string
myname=(string)Session["MyName"]; //u will find the session count 0
** Note : If i use Server.Transfer i will get the session varible in PageB ,
but not in PageC
-----------------------------------------------------------
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]