Print Page | Close Window

Reading Cookies Help

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=24511
Printed Date: 06 April 2026 at 1:38pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Reading Cookies Help
Posted By: lovelymanmk
Subject: Reading Cookies Help
Date Posted: 25 September 2007 at 7:50pm
I want to read: Author_ID, Username, and Group_ID from the cookies on some other pages of my site. I don't want to re-include the common files each time for that.
 
I understand the cookies saved by the forums are for User_code. So it's should be read and formated for SQLinput then read the required records from table Author where the user_code = this code cookies...
 
But it's not working.  Any comment or help?!
 
Thanks in advance!!


-------------
Mohamad Al-Karbi



Replies:
Posted By: lovelymanmk
Date Posted: 26 September 2007 at 6:44pm
ok, in other words, how can I request the cookies of the user_code without having the common.asp file included?!
 
I'm doing that cause i want the users of my forums to use the same login in other sections of the site....


-------------
Mohamad Al-Karbi


Posted By: Scotty32
Date Posted: 26 September 2007 at 6:49pm
why do you not want to use the common.asp file? this would be by far the easiest way of doing it.

ive got a tutorial on making http://www.s2h.co.uk/wwf/tips/intergration/member-only-pages.asp - Member-Only Pages if your interested.

-------------
S2H.co.uk - http://www.s2h.co.uk/wwf/" rel="nofollow - WebWiz Mods and Skins

For support on my mods + skins, please use http://www.s2h.co.uk/forum/" rel="nofollow - my forum .


Posted By: lovelymanmk
Date Posted: 26 September 2007 at 7:05pm

Scotty32, thank you very much. I think this is what i was looking for.

Do you believe including common.asp file in folders outside the forum folder won't affect the forums? 

-------------
Mohamad Al-Karbi


Posted By: Scotty32
Date Posted: 26 September 2007 at 7:44pm
i do it on www.s2h.co.uk, it shouldnt affect the forum at all

just make sure you close the connection to the database as it says on my page and it should be fine.


-------------
S2H.co.uk - http://www.s2h.co.uk/wwf/" rel="nofollow - WebWiz Mods and Skins

For support on my mods + skins, please use http://www.s2h.co.uk/forum/" rel="nofollow - my forum .


Posted By: lovelymanmk
Date Posted: 26 September 2007 at 7:49pm
Thank you very much :)

-------------
Mohamad Al-Karbi



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net