Regarding cookies

elf

Active member
Joined
Jun 4, 2003
Messages
37
Does anyone knows how to create and read cookies using vb.net.Thanks 4 any help provided...:D
 
thanks for the help..but i wans the page the check for the cookies..if not found then redirect it back to the page i wans..how do i do it..i try to use response.redirect but nothing happens...how?
 
i have try already but there seems to be n changes..
i created a cookies and then check for it in the other page..it does link but erm wat i wans is that all user have to login b4 they can access to the other page..i dun wan them to like skip the login page and access to the other page of my applications..
 
in your sub page_load couldnt you just put:

if request.cookies("nameofcookie") is nothing
then
server.transfer("whereever.aspx")
 
Back
Top