|
|
|
|
|
| | |
| |
vbscript active server pages ASP vbscript SQL database informix oracle SQL Server Perl CGI Delphi PHP source code code sample samples program CJWSoft ASPProtect ASPBanner ASPClassifieds
(Advanced)
(Components)
(Database)
(General)
(Vbscript)

|
|
|
|
Subject: |
Re: SELECT statement for ASP code |
|
From: |
Harpreet |
|
Date: |
6/27/2001 11:29:39 AM |
|
IP: |
195.229.191.39 |
Hey Girl
You don't need to convert the User ID into an integer. I think you are having the same problem as i am...that of the Session variables not remembering the User Id on another ASP page. I have a workaround. Why don't you pass the User Is as a parameter between pages. For example
"HREF = Page2.asp?UserId=" & Session("UserId")
and when actually on Page2.asp, do the following:
<BODY>
Declare strUserId
strUserId = Request.QueryString ("UserID")
(and voila! you have the User's ID in the strUserId variable)
</BODY>
Meanwhile, if I come across the reason why some computers don't remember the Session varialbe values, shall let you know. So, enjoy!!!
cheers. |
Previous Message
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|