PDA

View Full Version : Session key argument after link


Lilmikeishere
09-11-2013, 11:41 PM
When I open my forums in a new tab on Google Chrome using incognito, all links get a s=? query added to them for some reason until the page is then refreshed.

This is a problem because a link like:

http://www.example.com/login.php?do=lostpw

NOW looks like this:

www. example.com/login.php?do=lostpw?s=1ffcf26cd48d9c6c3fb7da72e1f5 4
(it doesn't load the right page)

How would I fix this?

Zachery
09-11-2013, 11:53 PM
incognito blocks cookies, iirc, but it looks like you have your session url links wrong in the templates.

tbworld
09-12-2013, 12:36 AM
The link isn't quite working even after I moved the sessionkey around.

<a href="login.php?do=lostpw{vb:raw session.sessionurl_q}">

Try this:

<a href="login.php?{vb:raw session.sessionurl}&amp;?do=lostpw">

Lilmikeishere
09-12-2013, 12:37 AM
incognito blocks cookies, iirc, but it looks like you have your session url links wrong in the templates.

edit:
Fixed, it seems as I had to use

{vb:raw session.sessionurl}

instead of

{vb:raw session.sessionurl_q}

Is there any notable difference?

Zachery
09-12-2013, 01:11 AM
q ads the query string, IIRC. ? regular sessionurl doesn't.