Direct link does not work

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
fab
Posts: 14
Joined: Tue Apr 27, 2021 6:00 pm

Direct link does not work

Post by fab »

Hello
in mail sent to the customer, after they create a ticket by mail, the link to "To read the message, submit a reply and view details, please visit:" is not working fine. customer has to provide his mail / ticket ID to access to the ticket.

How can we configure it to let him visit directly the ticket without identifying previously ?

thx. for yoru lights !
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Re: Direct link does not work

Post by Klemen »

The URLs are designed to automatically open the ticket.

This means either your "Help desk URL" is incorrect or you have PHP session problems.

Can you share the URL of your help desk?
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
fab
Posts: 14
Joined: Tue Apr 27, 2021 6:00 pm

Re: Direct link does not work

Post by fab »

sure : https://support.alcanix.net/

maybe this is because the tickets have been opened by email so, no session should have been created here, I presume.
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Re: Direct link does not work

Post by Klemen »

I submitted a test ticket and the link I received in the email works just fine for me?

Maybe you have some software on your computer that blocks cookies?

P.s.: good job customizing the look of your help desk!
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
fab
Posts: 14
Joined: Tue Apr 27, 2021 6:00 pm

Re: Direct link does not work

Post by fab »

(thx ;) )

ok so from the mail you received, you went directly to the ticket, without having to re-enter the ticket id ? this is strange as I do not have anthing installed to block the cookies.

but I'm wondering how can I have cookies if I sent a mail to open ticket ? maybe this is only for the first access then ?
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Re: Direct link does not work

Post by Klemen »

fab wrote: Wed Apr 28, 2021 7:40 pm ok so from the mail you received, you went directly to the ticket, without having to re-enter the ticket id ?
Correct.
but I'm wondering how can I have cookies if I sent a mail to open ticket ? maybe this is only for the first access then ?
A session cookie is set when you visit the URL, before being redirected to "ticket.php" (without the query string). If the session cookie is not present, the "View a ticket" form shows.

Maybe you have browser privacy settings set to very high? Maybe your antivirus is blocking cookies? Have you tried from another computer?
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
fab
Posts: 14
Joined: Tue Apr 27, 2021 6:00 pm

Re: Direct link does not work

Post by fab »

yes that's correct. So when you create a ticket via mail, you never opened any session, so you don't have any cookies. So maybe this is why when I clicked on link to view ticket, I have been redirected to the form first.

If you have been able to read the ticket directly from the link, this is probably because you opened the case from the web directly and not via e-mail.

Then is there any way to baypass that ? almost all of my users are used to open ticket via mail. How can we allow them to read ticket directly ?
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Re: Direct link does not work

Post by Klemen »

You got me wrong - the link from the email works for me whenever I try it, even after a computer reboot or from a private browser window.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
fab
Posts: 14
Joined: Tue Apr 27, 2021 6:00 pm

Re: Direct link does not work

Post by fab »

ok this is strange. for some reason, I have at the end ot link this part : &Refresh=19955

it seems that if I remove it from url, I have direct access to ticket.

but because of it, I have to pass first on /ticket.php with form before having access on ticket. Any idea about it ?
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Re: Direct link does not work

Post by Klemen »

Refresh is there just to force refresh the page in the browser, it's not actually used by the PHP and can be safely removed.

However, that's not the cause of your problems. Have you tried from a different computer, as suggested?
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Post Reply