GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Will some smart (PHP) person please help me before my brain explodes ?!! (https://gfy.com/showthread.php?t=333809)

Adult Site Traffic 07-30-2004 12:44 PM

Will some smart (PHP) person please help me before my brain explodes ?!!
 
I want to set a simple random session ID on pageload.

I just want to <GET_HIT_ID> and pass it through to the end of the session in the browser, either hidden or in the url.

I can pass it through, but I don't know how to assign an ID to a hit. :mad:

The result should be: http://url.com/?variable_1&variable_2&hit_id

Thank you.

AST 121760557

TonyL 07-30-2004 12:50 PM

I could tell you but it's faster to just use a GOOGLE search..

http://www.google.com/search?sourcei...sions+tutorial

-Tony

Adult Site Traffic 07-30-2004 12:55 PM

Quote:

Originally posted by TonyL
I could tell you but it's faster to just use a GOOGLE search..

http://www.google.com/search?sourcei...sions+tutorial

-Tony

I actually tried that, but I wasn't in the right place. So this is what I'm after I think:
http://www.phpfreaks.com/phpref/76.php

rich06 07-31-2004 12:57 AM

not sure I understand what you're after -- you want to pass the php session ID from page to page in the query string? if yes then just use session_id()

session_encode() just returns the session data encoded so it can be saved in a variable.

rich


All times are GMT -7. The time now is 11:48 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123