Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > ASP.NET 1.0 and 1.1 Basics
|
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
 
Old March 15th, 2006, 11:06 AM
Authorized User
 
Join Date: Dec 2005
Posts: 77
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to g_vamsi_krish
Default 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
 
Old March 15th, 2006, 02:52 PM
Friend of Wrox
 
Join Date: Nov 2003
Posts: 1,348
Thanks: 0
Thanked 5 Times in 5 Posts
Default

You can use a Session variable or Server.Transfer.

Jim

 
Old March 16th, 2006, 12:17 AM
Authorized User
 
Join Date: Dec 2005
Posts: 77
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to g_vamsi_krish
Default

THnaks for u r reply. can't we use sql server for this. Is there any way to store in sql.



vamsi
 
Old March 16th, 2006, 12:18 AM
Authorized User
 
Join Date: Dec 2005
Posts: 77
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to g_vamsi_krish
Default

Thanks for u r reply. can't we use sql server for this. Is there any way to store in sql.



vamsi
 
Old March 16th, 2006, 12:20 AM
Friend of Wrox
 
Join Date: Nov 2003
Posts: 1,348
Thanks: 0
Thanked 5 Times in 5 Posts
Default

You can use sql server to store it, but won't that be overkill?

 
Old March 16th, 2006, 12:24 AM
Authorized User
 
Join Date: Dec 2005
Posts: 77
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to g_vamsi_krish
Default

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
 
Old March 16th, 2006, 12:27 AM
Friend of Wrox
 
Join Date: Nov 2003
Posts: 1,348
Thanks: 0
Thanked 5 Times in 5 Posts
Default

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

 
Old March 16th, 2006, 01:10 AM
Authorized User
 
Join Date: Dec 2005
Posts: 77
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to g_vamsi_krish
Default

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
 
Old March 16th, 2006, 01:18 AM
Friend of Wrox
 
Join Date: Nov 2003
Posts: 1,348
Thanks: 0
Thanked 5 Times in 5 Posts
Default

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.

 
Old March 16th, 2006, 01:33 AM
Authorized User
 
Join Date: Dec 2005
Posts: 77
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to g_vamsi_krish
Default

ok thanks. ill come with other alternative to handle.

vamsi





Similar Threads
Thread Thread Starter Forum Replies Last Post
Cross-Page Posting roman BOOK: Professional ASP.NET 3.5 : in C# and VB ISBN: 978-0-470-18757-9 1 June 25th, 2008 10:25 AM
Posting String Array From one page to another page Samatha ASP.NET 1.0 and 1.1 Professional 1 December 6th, 2006 03:54 AM
Page is posting to itself parypoo ASP.NET 1.0 and 1.1 Professional 2 April 17th, 2006 06:08 AM
Page Not Posting RGB ASP.NET 1.0 and 1.1 Basics 11 March 7th, 2006 01:58 PM
cross-page posting macupryk Visual Studio 2005 0 December 17th, 2004 06:58 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.