473,698 Members | 2,603 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Passing record from One page to another

107 New Member
Hello frnds.......
Hope to find this solution....... ..Is there any way to pass the record from one page to another page .
I am not interested to show the records in the address bar (as during rediect).
Plz help me out
Jul 9 '07 #1
2 888
dip_developer
648 Recognized Expert Contributor
Hello frnds.......
Hope to find this solution....... ..Is there any way to pass the record from one page to another page .
I am not interested to show the records in the address bar (as during rediect).
Plz help me out
Use session variables.Store your information in the session variable.
like...
Expand|Select|Wrap|Line Numbers
  1. Dim myRecord as String="Hello world"
  2. Session["myVariable"]=myRecord
On the second page retrieve the record as
Expand|Select|Wrap|Line Numbers
  1.  Dim record as String=Session["myVariable"]
Jul 9 '07 #2
giveDsolution
107 New Member
Use session variables.Store your information in the session variable.
like...
Expand|Select|Wrap|Line Numbers
  1. Dim myRecord as String="Hello world"
  2. Session["myVariable"]=myRecord
On the second page retrieve the record as
Expand|Select|Wrap|Line Numbers
  1.  Dim record as String=Session["myVariable"]

Thanks for ur reply.....I have exactly done this.its working
Jul 9 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

2
27646
by: Phillip Wu | last post by:
Hi, I saw a previous post about sending arrays but did not quite understand the answers. The problem is that I would like to pass an entire array as a hidden input field from one php script to another. I've simplified the code where form1.php calls form2.php when "Go" is hit: form1.php
4
1363
by: Phil Latio | last post by:
I have below a quite simple php page which queries a database table of all records and outputs the result. However on this page I only output 3 of the fields and I would like to click on a particular row which would then bring up a detail page (which displays all the fields (perhaps 10 or more) of that record). Do I create another php file called detail.php which includes the line: $sql = 'SELECT * FROM `link` WHERE link_id = $id; and...
2
2740
by: Miguel Orrego | last post by:
Hi, I have a page that pulls data from a database, one of the fields is Notetext which frequently contains an email. I then want to pass this onto another page, that updates the email field in another database, so in page 1: strNote = rsnotes("NOTETEXT") And to pass to the next page:
2
2816
by: Renie83 | last post by:
Hi I really am going crazy! I'm using VBScript, ASP, and SQL My page reminds me of a shopping cart but looking at shopping cart examples has not helped! What I have is a page that brings in products ordered by a certain company. Along with those values, I'm creating a text box at the end of each record that a user may or may not enter in an estimated delivery date. If the user does enter in a date I want that row of data submitted to a...
2
4589
by: Gordon Hudson | last post by:
Hello Here is what I am trying to do: Make a hyperlink on a data entry form with its URL built from the values for fields in that entry on the database. So, I would go to record 65785 click on the link and it would open a web page. The URL contained in the hyperlink would pass the name and address field
5
1841
by: Jim via DotNetMonster.com | last post by:
Hi, I need to pass the value of a variable from one function to another but I don't seem to get the value. I declare the variable outside all functions. What I'm trying to do is that when the button is clicked, check to see if the record exists using input from a form. I want to pass that variable to the button click Sub because if it doesn't exist then the record is inserted and the user is directed to a different page. The variable I'm...
4
4385
by: Paraki | last post by:
Hi, How to pass the array or arraylist(dataset or any other object in fact) from one page to another. I am using the one page to display 10 records and another page to display and modify the selected record. I want to pass the values of selected record from one page to another. Can someone help me to do that? Thanks in advance. K_
28
3121
by: Skeets | last post by:
i'm passing session and hidden variables between pages. not to mention post values. i'm a little concerned that someone with sufficient knowledge could spoof these vlaues and manipulate the program. is this a valid concern? i'm thinking i can check the submitting page setting up something around the following the following code... $base_name = basename($_SERVER);
6
4046
by: djjohnst | last post by:
I am creating a program that will list program times for people who visit our website. Users can login create, edit, delete a program. These dump into a database. The ASP webpage then reads from the database and posts these programs for people to view (program type, date, time, etc...). I am having trouble creating an edit option. When bring up the edit page i want it to read the database and dynamically create a table that has a button...
4
5923
by: John Sheppard | last post by:
Hello there I was wondering if anyone could help me, I am trying to pass a typed dataset to a dialoged child form by reference. I have binding sources sitting on the child form. So to refresh them I just set their datasource. I am guessing this is probably what is causing the problem. Is there a better way to do this? Anyway this all works happily and things show up when the record already exists but I have 2 problems ; 1) When I add...
0
8609
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9030
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8899
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8871
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6528
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4371
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4622
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2335
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2007
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.