passing recordset to next page?

This is a discussion on "passing recordset to next page?" within the Classic ASP section. This forum, and the thread "passing recordset to next page? are both part of the Program Your Website category.



Go Back   Webforumz.com > Main Forums > Program Your Website > Classic ASP

Notices


Closed Thread
 
LinkBack Thread Tools
  #1 (permalink)  
Old Sep 25th, 2004, 04:03
Most Reputable Member
Join Date: Feb 2004
Location: Borneo
Age: 27
Posts: 1,608
Blog Entries: 2
Thanks: 0
Thanked 4 Times in 3 Posts
Send a message via Yahoo to Monie
passing recordset to next page?

How can i set a session to one of my recordset..?

PAGE 1
Code: Select all
<%
Address = <%addressRecordset%>
Session ("address")= Address
%>
In the next page i want to display the value...
PAGE 2
Code: Select all
<%response.write Session ("address")%>
i know this code does not working,
i just want to show what is my idea,
can anybody help me?
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)

  #2 (permalink)  
Old Sep 25th, 2004, 07:53
spinal007's Avatar
Moderator
Join Date: Mar 2004
Location: Good Ol'London
Age: 22
Posts: 1,620
Blog Entries: 1
Thanks: 0
Thanked 2 Times in 2 Posts
Send a message via ICQ to spinal007 Send a message via MSN to spinal007 Send a message via Yahoo to spinal007 Send a message via Skype™ to spinal007
1. a record set is an object so you'd have to use the "Set" keyword. i.e:
Code: Select all
 Set Session("address") = addressRecordset
2. I'm not sure you can store objects in your session variables (recordsets anyway).
what you should be doing is passing the "source" of your recordset to the next page. you can then use that to "re-open" your recordset.
Last Blog Entry: Random String in Javascript (Apr 21st, 2008)
Closed Thread

Tags
passing, recordset, next, page

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sending email from results of a Recordset John Alexander Hopper PHP Forum 2 Mar 8th, 2008 23:00
Passing Variables to a require_once() Page darryladie PHP Forum 3 Jun 20th, 2006 18:36
recordset/table display Eclipse414 Web Page Design 4 Dec 25th, 2005 21:02
Importing RecordSet to .asp file tolis Classic ASP 8 Nov 23rd, 2005 20:23
importing txt file to SQL with recordset EnvY Classic ASP 21 Mar 28th, 2005 11:22


All times are GMT. The time now is 15:29.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43