Re: Session vars without Cookies via URL
| From: | dbarber | Date: | Fri, 27 Oct 2000 13:59:43 +0000 |
| Subject: | Re: Session vars without Cookies via URL | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-22333@lists.php.net to get a copy of this message | ||
Boris,
What I'm doing is when the session is created, I write the session ID to a
database. Any variables that are then associated with this user are then
written to that database as well. Then all you have to do, is include a
a file at the top of every page that pulls those variables from the
database. All you have to pass with the url is ?session=$session.
Dan
On Fri, 27 Oct 2000, Boris.C wrote:
> I've got aproblem:
>
> After a User logged in, I need his or her Username in a Session var.
> Sadly, some companies deactivate cookies, so that I have to forward the
> username with the URL. My prob is, that the manual's expample for SID usage
> does not work... Does anyone have an example file or a tutorial where
> session vars are forwarded with the url?
>
> Thanxx, Boris
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>