Click here to Skip to main content
16,012,843 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: Secure Cookies Pin
MatrixUndone3-Dec-03 7:37
sussMatrixUndone3-Dec-03 7:37 
GeneralRe: Secure Cookies Pin
Heath Stewart3-Dec-03 8:19
protectorHeath Stewart3-Dec-03 8:19 
GeneralPlatform Confusion Pin
michael watt2-Dec-03 3:09
michael watt2-Dec-03 3:09 
GeneralRe: Platform Confusion Pin
Not Active2-Dec-03 4:14
mentorNot Active2-Dec-03 4:14 
GeneralRe: Platform Confusion Pin
michael watt2-Dec-03 8:44
michael watt2-Dec-03 8:44 
GeneralRe: dhtml/javascript/iframe/link inline html Pin
ZoogieZork2-Dec-03 2:17
ZoogieZork2-Dec-03 2:17 
GeneralRe: dhtml/javascript/iframe/link inline html Pin
Maximilien2-Dec-03 2:30
Maximilien2-Dec-03 2:30 
GeneralASP Session again Pin
BlackRider1-Dec-03 22:05
BlackRider1-Dec-03 22:05 
Hello, I've got the following code
test.asp
<%@ language="Javascript" %>
<%
var Connection,Recordset;
Connection = Server.CreateObject("ADODB.Connection");
Connection.Open("thesourcename");
var strSQLQuery = "SELECT * FROM clients WHERE .... "
Recordset = Connection.Execute(strSQLQuery);
Session("test") = Recordset.Fields("user_name");
Response.Redirect("test1.asp");
%>

and I've got another code ...
test1.asp

<%@ language="Javascript" %>
<%
Response.Write(Session("test"));
%>


Someone PLEASE tell me what am I doing WROOOOOOOOONG bacause ASP is driving me crazy. The book sais that the Session object should store the values from page to page.
I get an ADODB.Field no longer available error message. Could someone please tell me why ?????????????????
I've got almost the same code in VBScript and it works ....
WHAT'S WRONG ??
Thank you !
GeneralRe: ASP Session again Pin
Paul Watson1-Dec-03 22:47
sitebuilderPaul Watson1-Dec-03 22:47 
GeneralRe: ASP Session again Pin
BlackRider2-Dec-03 1:45
BlackRider2-Dec-03 1:45 
GeneralRe: ASP Session again Pin
Paul Watson2-Dec-03 1:52
sitebuilderPaul Watson2-Dec-03 1:52 
GeneralRe: ASP Session again Pin
BlackRider2-Dec-03 23:00
BlackRider2-Dec-03 23:00 
GeneralRe: ASP Session again Pin
Populate1233-Dec-03 21:39
Populate1233-Dec-03 21:39 
GeneralRegionInfo and CultureInfo (CurrentCulture/CurrentUICulture) Pin
CillyMe1-Dec-03 16:28
CillyMe1-Dec-03 16:28 
GeneralASP Sessions Pin
User 127821-Dec-03 14:00
User 127821-Dec-03 14:00 
GeneralRe: ASP Sessions Pin
theJazzyBrain1-Dec-03 21:57
theJazzyBrain1-Dec-03 21:57 
GeneralRe: ASP Sessions Pin
User 127822-Dec-03 10:45
User 127822-Dec-03 10:45 
GeneralRe: ASP Sessions Pin
Paul Watson1-Dec-03 23:02
sitebuilderPaul Watson1-Dec-03 23:02 
GeneralRe: ASP Sessions Pin
User 127822-Dec-03 10:44
User 127822-Dec-03 10:44 
GeneralSOAP Question Pin
ProffK1-Dec-03 2:20
ProffK1-Dec-03 2:20 
GeneralRe: SOAP Question Pin
Paul Watson1-Dec-03 23:06
sitebuilderPaul Watson1-Dec-03 23:06 
GeneralRe: SOAP Question Pin
ProffK1-Dec-03 23:18
ProffK1-Dec-03 23:18 
Generaldhtml/javascript/iframe/link inline html Pin
Maximilien30-Nov-03 12:52
Maximilien30-Nov-03 12:52 
GeneralRe: dhtml/javascript/iframe/link inline html Pin
theJazzyBrain1-Dec-03 22:00
theJazzyBrain1-Dec-03 22:00 
QuestionHow do I configure SSL? Pin
CillyMe30-Nov-03 6:24
CillyMe30-Nov-03 6:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.