Print Page | Close Window

somebody now what session this forum is..

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=3409
Printed Date: 01 April 2026 at 4:05pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: somebody now what session this forum is..
Posted By: ZnarK
Subject: somebody now what session this forum is..
Date Posted: 09 June 2003 at 11:44am

somebody now what session this forum is making when i login? I dont meen this forum bout the free forum. that have being good to now becuase iam doing a mod to the forum.

And i need to now what session  its making just the session when someone logging in.



-------------
TzOOM.net aeger! (owns)



Replies:
Posted By: WebWiz-Bruce
Date Posted: 09 June 2003 at 12:20pm
The forum doesn't use session variables.

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: ZnarK
Date Posted: 09 June 2003 at 12:31pm

Alright but hove shuold i do white this code:

_______________view.asp__________________
<%
Set Connect = Server.CreateObject("ADODB.Connection")
Connect.Open "Driver={Microsoft Access Driver (*.mdb)}; DBQ=" & server.mappath ("admin/database/wwForum.mdb")
SQL = "Select * from tblAuthor where bild = 1"
set rs = connect.execute(SQL)
do until rs.eof
%>
<%=rs("user")%>
<%
SQL = "Select * from bilder where vems = " & rs("vems") & ""
set rs2 = connect.execute(SQL)
do until rs2.eof
%>
<img src = "<%=rs2("img")%>"><br>
<%
rs2.movenext
loop
rs.movenext
loop
%>
<form action="save.asp" method="post">
 <input name="url" type="text">
    <input type="submit" name="Submit" value="Submit">
</form>

_____________save.asp______________________
<%
Set Connect = Server.CreateObject("ADODB.Connection")
Connect.Open "Driver={Microsoft Access Driver (*.mdb)}; DBQ=" & server.mappath ("admin/database/wwForum.mdb")
vems = session("SessionID")
img = request.form("img")

connect.execute("Insert into bilder (img,vems) values('" & img & "','" & vems & "')")
connect.execute("Update tblAuthor set bild = 1 where id = " & session("SessionID") & "")
connect.close
set connect = nothing %>

 

all the database adds have i done so i must need to now hove i can add it..



-------------
TzOOM.net aeger! (owns)


Posted By: ljamal
Date Posted: 09 June 2003 at 12:52pm
Originally posted by -boRg- -boRg- wrote:

The forum doesn't use session variables.


That's not true line 314 of common.asp sets the session variable dtmLastVisit with
Session("dtmLastVisit") = CDate(Request.Cookies("FLVST")("LTVST"))

and it uses one called ViRead

In fact the forum uses or sets at least two (2) Session variables and at least six (6) cookies.

-------------
L. Jamal Walton

http://www.ljamal.com/" rel="nofollow - L. Jamal Inc : Web/ Print Design and ASP Programming


Posted By: ZnarK
Date Posted: 09 June 2003 at 1:05pm
can somebod help me whit my code??

-------------
TzOOM.net aeger! (owns)


Posted By: ljamal
Date Posted: 09 June 2003 at 1:35pm
what are you tryig to do?

-------------
L. Jamal Walton

http://www.ljamal.com/" rel="nofollow - L. Jamal Inc : Web/ Print Design and ASP Programming


Posted By: ZnarK
Date Posted: 10 June 2003 at 7:56am
iam doing a picture galleri. If there is a member on the forum and he want to post a picture on hi's profile, then it shows on a page that named: weiv.asp.

that page lists all users that have pics in the database. and now iam wondering how to make this code working? It dosent uses session variables, it youses cookies. So how can i make this code working please help me:

<%
Set Connect = Server.CreateObject("ADODB.Connection")
Connect.Open "Driver={Microsoft Access Driver (*.mdb)}; DBQ=" & server.mappath ("admin/database/wwForum.mdb")
vems = session("SessionID")
img = request.form("img")

connect.execute("Insert into bilder (img,vems) values('" & img & "','" & vems & "')")
connect.execute("Update tblAuthor set bild = 1 where id = " & session("SessionID") & "")
connect.close
set connect = nothing %>

 

instead of session on this line: connect.execute("Update tblAuthor set bild = 1 where id = " & session("SessionID") & "")
it should have a cookie but i dont now how to do...

so now i wonder if somebody can help me with my code..

thanks a lot..



-------------
TzOOM.net aeger! (owns)


Posted By: ZnarK
Date Posted: 10 June 2003 at 7:56am
could somebody help me???

-------------
TzOOM.net aeger! (owns)



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net