|
-
Apr 3rd, 2001, 04:25 AM
#1
Thread Starter
Fanatic Member
Hi i wish to ask visitors to my page their age and stor it as a cookie for further viists my code goes like this
if document.cookie = " "
then vname =INPUTBOX("Please enter name")
Document.Write "Hello" & " " & vname & " " & "and"
cookie1= vname & ";expires=Wed, 07 Nov 2001 12:00:00 GMT"
Document.Cookie = cookie1
else
cookie2= document.cookie
document.write "Welcom back" & cookie2
end if
Can any one tell me what i am doing wrong, apart from pretending i am a programmer!!!!
Thanks
Useful Links
.Net
#Develop, GhostDoc, CodeKeep , be.PINVOKE, Good Code Snippet Site
Krypton Toolkit, XPCC / XP Common Controls, QSS Windows Forms Components
VB.COM
VB.Classic Help File, MB Controls, MZTools, ADO Stored Procedure Generator add-in,
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|