Hi friends, 

I m new be in group.  i want to create welcome page to registered user in my 
site that how many times they have visited. following is my script 

<%
dim vis 
Response.write "UserName=" & Request.Cookies("uname") & "<br>  Your Pass=" & 
Request.Cookies("pass")
Response.Cookies("uname") = "a"
Response.Cookies("pass") = "p"
Response.Cookies("lastvisit")=now()
Response.Cookies("uname").expires=dateadd("m",1,now())

Response.Cookies("visit")=1

vis = Request.Cookies("visit")
if vis="" then 
  Request.Cookies("visit")=1
else
      '  Request.Cookies("visit")=cstr(vis + 1)
   response.Write("<br> Now visit is " & (vis +1) )
end if 

'vis=vis+1

Response.Write("<br> visits area " & vis )

%>


when i referesh page  counter 'vis' is not incremented.  where  m i wrong ? 
help pls 


Have A Happy Day, ..............

Techie
Yahoo! India Matrimony: Find your life partneronline.

[Non-text portions of this message have been removed]






------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/saFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to