 |
| ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0. |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
|
|
|
|

March 15th, 2006, 11:06 AM
|
|
Authorized User
|
|
Join Date: Dec 2005
Posts: 77
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
posting an object from one page to other page
hai,
What is the best way to tranfer an object from one page to other page with out using response.redirect.
Thanks
vamsi
__________________
vamsi Krishna G
mobile: 91 + 9986023966.
124 Puttappa layout new Tippasandhra,
bangalore.
Inida
|
|

March 15th, 2006, 02:52 PM
|
|
Friend of Wrox
|
|
Join Date: Nov 2003
Posts: 1,348
Thanks: 0
Thanked 5 Times in 5 Posts
|
|
You can use a Session variable or Server.Transfer.
Jim
|
|

March 16th, 2006, 12:17 AM
|
|
Authorized User
|
|
Join Date: Dec 2005
Posts: 77
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
THnaks for u r reply. can't we use sql server for this. Is there any way to store in sql.
vamsi
|
|

March 16th, 2006, 12:18 AM
|
|
Authorized User
|
|
Join Date: Dec 2005
Posts: 77
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Thanks for u r reply. can't we use sql server for this. Is there any way to store in sql.
vamsi
|
|

March 16th, 2006, 12:20 AM
|
|
Friend of Wrox
|
|
Join Date: Nov 2003
Posts: 1,348
Thanks: 0
Thanked 5 Times in 5 Posts
|
|
You can use sql server to store it, but won't that be overkill?
|
|

March 16th, 2006, 12:24 AM
|
|
Authorized User
|
|
Join Date: Dec 2005
Posts: 77
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Thanks for u r reply. I want to use because the object that i suposed to use is large. one more dout is that, can we store the object seperately for each user just like session.
vamsi
|
|

March 16th, 2006, 12:27 AM
|
|
Friend of Wrox
|
|
Join Date: Nov 2003
Posts: 1,348
Thanks: 0
Thanked 5 Times in 5 Posts
|
|
You would have to find some way to assoicate the object being stored in sql server with a particular user. What type of object to you want to pass to a different page?
Jim
|
|

March 16th, 2006, 01:10 AM
|
|
Authorized User
|
|
Join Date: Dec 2005
Posts: 77
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
its a dictionary object or a collection. It contains huge collection of User ID's may be around 25 thousand. i want to pass this collection to other page. where these ID's can be used to view the records.
vamsi
|
|

March 16th, 2006, 01:18 AM
|
|
Friend of Wrox
|
|
Join Date: Nov 2003
Posts: 1,348
Thanks: 0
Thanked 5 Times in 5 Posts
|
|
You should probably restrict the number of rowss(itmes) passed, it seems like a lot. Not sure how you would store it in sql server. First see if you can cut down the number of items you need to send.
|
|

March 16th, 2006, 01:33 AM
|
|
Authorized User
|
|
Join Date: Dec 2005
Posts: 77
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
ok thanks. ill come with other alternative to handle.
vamsi
|
|
 |