garethtnash
asked on
Vbscript check if Cookie exists
Hello,
I'm trying to show / hide elements based on the existence of a cookie; I've tried using this -
but no luck?
Any suggestions
Thank you
I'm trying to show / hide elements based on the existence of a cookie; I've tried using this -
<%if Not IsObject(Response.Cookies("user")) then %>
<li><a href="#" rel="nofollow">Login</a></li>
<li><a href="#" rel="nofollow">Register</a></li>
<%Else%>
<li><a href="#" rel="nofollow">Account Settings</a></li>
<%End if%>
but no luck?
Any suggestions
Thank you
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Tank you
This is the full link https://www.experts-exchange.com/questions/28641013/Scott-Fell-s-token-idea.html
ASKER
Thank you