Click here to Skip to main content
15,893,508 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionhow to work with Multiple Site logins through the code Pin
vurugonda2-Aug-07 18:25
vurugonda2-Aug-07 18:25 
AnswerRe: how to work with Multiple Site logins through the code Pin
N a v a n e e t h2-Aug-07 18:57
N a v a n e e t h2-Aug-07 18:57 
GeneralRe: how to work with Multiple Site logins through the code Pin
vurugonda2-Aug-07 19:12
vurugonda2-Aug-07 19:12 
GeneralRe: how to work with Multiple Site logins through the code Pin
N a v a n e e t h2-Aug-07 20:12
N a v a n e e t h2-Aug-07 20:12 
GeneralRe: how to work with Multiple Site logins through the code Pin
vurugonda2-Aug-07 20:27
vurugonda2-Aug-07 20:27 
GeneralRe: how to work with Multiple Site logins through the code Pin
N a v a n e e t h2-Aug-07 21:06
N a v a n e e t h2-Aug-07 21:06 
GeneralHow to combine two applications in one application Pin
vurugonda9-Aug-07 17:46
vurugonda9-Aug-07 17:46 
QuestionProblem writing Cookie Pin
firestoper2-Aug-07 17:43
firestoper2-Aug-07 17:43 
Hi Guru's

I'm having problem on writing cookie, not on the code but I can't seem to find the actual cookie file that was created, I also tried to placed the cookie path to my project folder but I still can't seem to find the cookie that was created. Below is my code for creating cookie.

Am I doing something wrong?

Please advice

<br />
    Dim bcap As HttpBrowserCapabilities<br />
        Dim bookmarkCookie As HttpCookie<br />
        bcap = Request.Browser<br />
<br />
<br />
        If Not bcap.Cookies = True Then<br />
            wc_header.setError("Cannot bookmark page, Cookie is not enabled in this browser")<br />
            Return False<br />
<br />
        Else<br />
            bookmarkCookie = New HttpCookie("pageBookmark")<br />
            bookmarkCookie.Path = Server.MapPath("../")<br />
            bookmarkCookie("pageID" & pID) = CType(pID, String)<br />
            bookmarkCookie.Expires = Now.AddDays(1)<br />
            Request.Cookies.Add(bookmarkCookie)<br />
<br />
            Return True<br />
<br />
        End If<br />
<br />

AnswerRe: Problem writing Cookie Pin
Mircea Grelus2-Aug-07 18:48
Mircea Grelus2-Aug-07 18:48 
GeneralRe: Problem writing Cookie Pin
firestoper2-Aug-07 19:17
firestoper2-Aug-07 19:17 
GeneralRe: Problem writing Cookie Pin
Mircea Grelus2-Aug-07 19:24
Mircea Grelus2-Aug-07 19:24 
GeneralRe: Problem writing Cookie Pin
firestoper2-Aug-07 20:47
firestoper2-Aug-07 20:47 
GeneralRe: Problem writing Cookie Pin
Mircea Grelus2-Aug-07 20:52
Mircea Grelus2-Aug-07 20:52 
GeneralRe: Problem writing Cookie Pin
firestoper2-Aug-07 21:45
firestoper2-Aug-07 21:45 
GeneralRe: Problem writing Cookie Pin
Mircea Grelus2-Aug-07 22:01
Mircea Grelus2-Aug-07 22:01 
GeneralRe: Problem writing Cookie Pin
firestoper2-Aug-07 22:42
firestoper2-Aug-07 22:42 
QuestionSession Variables and WebServices Pin
Fayu2-Aug-07 17:32
Fayu2-Aug-07 17:32 
AnswerRe: Session Variables and WebServices Pin
N a v a n e e t h2-Aug-07 18:00
N a v a n e e t h2-Aug-07 18:00 
Questionrunning long task as background worker Pin
Nadia Monalisa2-Aug-07 11:39
Nadia Monalisa2-Aug-07 11:39 
AnswerRe: running long task as background worker Pin
Fred_Smith2-Aug-07 11:55
Fred_Smith2-Aug-07 11:55 
GeneralRe: running long task as background worker Pin
Nadia Monalisa2-Aug-07 12:13
Nadia Monalisa2-Aug-07 12:13 
AnswerRe: running long task as background worker Pin
Mircea Grelus2-Aug-07 18:54
Mircea Grelus2-Aug-07 18:54 
QuestionActive Directory search from ASP.NET Pin
Adam Maras2-Aug-07 10:08
Adam Maras2-Aug-07 10:08 
AnswerRe: Active Directory search from ASP.NET Pin
Tarakeshwar Reddy2-Aug-07 10:28
professionalTarakeshwar Reddy2-Aug-07 10:28 
Generalasp:Panel Visible="False" as not effect Pin
Ed.Poore2-Aug-07 9:26
Ed.Poore2-Aug-07 9:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.