Author |
Topic  |
|
Seth
Starting Member
1 Posts |
Posted - 23 July 2001 : 07:21:41
|
Hi everybody. This is my problem: i need to display in an other page which is not related with the forum the text: "You are logged on as MY NAME" But i've got a lot of difficulties to understand how use the cookies and read them. Please, may somebody help me? I really need to read that cookie! Bye
|
|
Spoon
Average Member
  
Ireland
507 Posts |
Posted - 23 July 2001 : 07:38:43
|
quote:
Hi everybody. This is my problem: i need to display in an other page which is not related with the forum the text: "You are logged on as MY NAME" But i've got a lot of difficulties to understand how use the cookies and read them. Please, may somebody help me? I really need to read that cookie! Bye
I think this forum uses sessions for that stuff, let me check........
hmm, i see sessions and cookies, depends what login you use, db or nt.
If its db, i think this is it
<% Response.Write (Request.Cookies(strUniqueID & "User")("Name")) %>
Would someone else care to clarify this for me?? It may be right seth, im not sure, try it anyway.
Regards,
Spoon, (ya all love me right?) |
 |
|
mbdtk
Starting Member
9 Posts |
Posted - 23 July 2001 : 15:39:44
|
I'm also trying to do this :(
I've got:
If (Request.Cookies("Snitz00user")<>"") Then%> <b><font color="#000000"><center>Hi, <%Response.Write(Request.Cookies("Snitz00user"))%> welcome back</center></font></b><%End If%>
This results in a page displaying:
Hi, NAME=santa&PWORD=hohoho&COOKIES= welcome back.
Is there a way to strip out the unwanted characters and just leave the name?
Many thanks
b
|
 |
|
|
Topic  |
|
|
|