New Message on dotNET User Group Hyd

How to Call ASPX page from ASP

Reply
  Reply to Sender   Recommend Message 3 in Discussion
From: SwapnilDeshmukh

Hi,
Ya you can call an aspx page from asp and also you can have the same session values in the aspx page. But there is little bit of workaround for this.
You have to create two pages
1) SessionPage.asp
2) SessionPage.aspx
What this two page will do is they will take the request and store the session value in the database for temporary and then delete the values as the other gets the session values. For this you have to create a database table say SessionData. which will have three columns
1) unique ID Column
2) Key (stores the session variable name)
3) Value (stores the session variable value)
 
While transfer from ASP to ASPX
The redirect should be to SessionPage.asp which will have the ASPX page name in the query string. Once the control is to the SessionPage.asp page, that page has to get the session variable and insert the values in the database and redirect the user to the SessionPage.aspx which we will take the value from the database and put the values in the asp.net session and then delete the values from the session. Once u got the session redirect the user to the query string value which is being pased.
And vice a versa for the ASPX to ASP page.
 
This is the work around. I have already done this in my application. If you want i can send the sample code to you.
 
Hope this help u
 
Thanks
Swapnil Deshmukh
 
 

View other groups in this category.

Click Here
Also on MSN:
Start Chatting | Listen to Music | House & Home | Try Online Dating | Daily Horoscopes

To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings.

Need help? If you've forgotten your password, please go to Passport Member Services.
For other questions or feedback, go to our Contact Us page.

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.
Remove my e-mail address from dotNET User Group Hyd.

Reply via email to