Wrox Programmer Forums
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional 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 July 7th, 2008, 05:46 AM
Authorized User
Join Date: Nov 2005
Posts: 51
Thanks: 0
Thanked 0 Times in 0 Posts
Default Pass values between pages

Hello .,

I have a problem sending data between pages.Im using c# asp.net 2.0. Earlier i used to pass parameter responce.redirect and session.But in my case i cant use these two method. If i use responce.redirect method "My page Refresh" and already existing datas always deleting.So i cant use that method .
Reason to dont use session "every page load time sessions will clear" and my data can lost.

So let me know how to use find control method with javascript. I have a few controls to bind from my first page data.So need to find more control at the same time

Old July 7th, 2008, 06:13 AM
planoie's Avatar
Friend of Wrox
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts

Why does every page load clear session values? It doesn't sound like you are using the session correctly.

How do you plan to pass values using javascript? Even if you find the controls and get the values, you still need to put them somewhere that you can move them around. If not the query string or session, then you need to put them into some persistent storage (such as a database) and retrieve them using some user specific identifier (i.e. usually the session ID or something similar).


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to pass values between different pages dipanjan22 ASP.NET 1.x and 2.0 Application Design 4 September 30th, 2007 02:02 PM
How to pass values from one iframe to another raaj PHP How-To 0 February 28th, 2007 01:47 AM
how to pass user info to diffrent pages using sess method PHP How-To 3 February 27th, 2006 01:08 AM
pass userid password across pages in ASP rajayak Classic ASP Databases 2 June 23rd, 2003 09:18 AM

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