Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Code Support: ASP (Non-Forum Related)
 [HELP] Very Important
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Seth
Starting Member

1 Posts

Posted - 23 July 2001 :  07:21:41  Show Profile
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  Show Profile  Visit Spoon's Homepage  Send Spoon an ICQ Message
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?)
Go to Top of Page

mbdtk
Starting Member

9 Posts

Posted - 23 July 2001 :  15:39:44  Show Profile
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

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.25 seconds. Powered By: Snitz Forums 2000 Version 3.4.07