Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Using Same Random Variable Twice Re: Using Same Random Variable Twice

#61960

Here is the sample code I am using:

Code:

Using this, I am getting the same value for the session variable and the cookie data. You only set the auth_key variable once, and then use it in two places, so its value shouldn’t change between the two times that you use it.

I’m using Firecookie (a plugin for the Firefox Firebug plugin) to compare session/cookie data.