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..