User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the ASP.NET section within the Web Development category of DaniWeb, a massive community of 456,552 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,477 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ASP.NET advertiser: Lunarpages ASP Web Hosting
Views: 4358 | Replies: 2
Reply
Join Date: May 2007
Posts: 23
Reputation: thirunavukaras is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
thirunavukaras thirunavukaras is offline Offline
Newbie Poster

how to transfer large data to one page to another page

  #1  
Oct 18th, 2007
Hai

I am creating one web application

i am using xml String with one containing xml Output to assign that temporary variable..

this my requirement

I want to transfer one xml file to another or Redirected web page

how to transfer xml file or large data to another page

i am using ViewState and Query String

i am using ViewState

but another page the viewstate value is nothing



please help how to transfer..

reply me..
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Sep 2007
Posts: 1,058
Reputation: SheSaidImaPregy is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 61
SheSaidImaPregy SheSaidImaPregy is offline Offline
Veteran Poster

Re: how to transfer large data to one page to another page

  #2  
Oct 20th, 2007
if you are redirecting to another page, and chances are that querystring is too small, you can write the info to a text or xml file. then you can call it on the other page you are redirecting to. Viewstate only works on postbacks, so you have to be on the same page calling a postback. Querystring is very limited as it only allows a certain number of characters. Your only other bet is to use a session variable which can be cumbersome if using many large ones. So unless you are only using one, and not many people at one time will be using large session variables, you would need to write it to a file and read it somewhere else.
Reply With Quote  
Join Date: Sep 2007
Posts: 1,058
Reputation: SheSaidImaPregy is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 61
SheSaidImaPregy SheSaidImaPregy is offline Offline
Veteran Poster

Re: how to transfer large data to one page to another page

  #3  
Oct 20th, 2007
oh, you can also use a hidden form field to carry it. but it will have to redirect to the right page on submit. if your pages change frequently, then use a session or file.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb ASP.NET Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the ASP.NET Forum

All times are GMT -4. The time now is 5:16 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC