elf Posted June 23, 2003 Posted June 23, 2003 Does anyone knows how to create and read cookies using vb.net.Thanks 4 any help provided...:D Quote
*Experts* mutant Posted June 23, 2003 *Experts* Posted June 23, 2003 Very detailed explanation over at msdn: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_vstechart/html/vbtchASPNETCookies101.asp :) Quote
elf Posted June 24, 2003 Author Posted June 24, 2003 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? Quote
wyrd Posted June 24, 2003 Posted June 24, 2003 I believe the link mutant provided explains how to read/write cookie values.. and much more. Quote Gamer extraordinaire. Programmer wannabe.
elf Posted June 24, 2003 Author Posted June 24, 2003 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.. Quote
*Experts* mutant Posted June 24, 2003 *Experts* Posted June 24, 2003 You could use forms authentication to check if user is allowed in other pages. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemwebsecurityformsauthenticationclasstopic.asp http://www.csharpfriends.com/Articles/getArticle.aspx?articleID=70 Its farily easy, if you have question post. Quote
elf Posted June 25, 2003 Author Posted June 25, 2003 oh i see.. so meaning that cookies isn't necessary..thanks Quote
mr relaxo Posted June 26, 2003 Posted June 26, 2003 in your sub page_load couldn't you just put: if request.cookies("nameofcookie") is nothing then server.transfer("whereever.aspx") Quote You can not get ye flask.
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.